Deletions

restore a specific record

Changed on

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.

post/deletions/{id}/restore

Request

  • Base URL
    https://company.aha.io/api/v1
  • Auth
    • OAuth 2
      Authorization codehttps://{account-domain}.aha.io/oauth/authorize
      Token URLhttps://{account-domain}.aha.io/oauth/token
    • or HTTP bearer
    • or API key in cookie session
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Path parameters

idstring required

Id identifier

Response

Successful operation

Example response

{
  "deletion": {
    "id": "6776881149497698683",
    "deleted_at": "2019-01-01T00:00:00.000Z",
    "status": "restore_in_progress",
    "record": {
      "name": "Feature 1",
      "type": "Feature",
      "reference_num": "PRJ1-1"
    },
    "deleted_by": {
      "id": 1049303076,
      "name": "George Gently",
      "email": "no-reply@aha.io"
    }
  }
}

Changes