Deletions API

The recycle bin contains recently deleted workspaces, teams, and records. It is possible to restore items up to 7 days after they have been deleted.

restore a specific record

POST /api/v1/deletions/:id/restore

Parameters
NameDescription
id *

Numeric ID of the deletion record

Example request

POST /api/v1/deletions/7439444651298254276/restore

Example CURL command

curl "https://company.aha.io/api/v1/deletions/7439444651298254276/restore" -d '' -X POST \
	-H "Authorization: Bearer 584b6d6b83405011f8c6903d2379f4afdf824cef867db391b7bcb5995f603a76" \
	-H "Content-Type: application/json" \
	-H "Accept: application/json"

Request

authorization: Bearer 584b6d6b83405011f8c6903d2379f4afdf824cef867db391b7bcb5995f603a76
contentType: application/json
accept: application/json

Response

Status: 200 OK
contentType: application/json; charset=utf-8

Response body