Deletions API

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

List contents of recycle bin

GET /api/v1/deletions

Parameters
NameDescription
page

Page number to return.

per_page

Number of records to return per page.

Example request

GET /api/v1/deletions?page=1&per_page=30

Example CURL command

curl -g "https://company.aha.io/api/v1/deletions?page=1&per_page=30" -X GET \
	-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