Skip to main content

Restore a trash object

POST 

https://api.katapult.io/core/v1/trash_objects/trash_object/restore

Restore a trashed object to its original location

Scopes

  • trash_objects:restore

OAuth2 Scopes

When using OAuth2 authentication, scopes are prefixed with api.katapult.io/core/v1/.

Request

Body

    trash_object

    object

    required

    All 'trash_object[]' params are mutually exclusive, only one can be provided.

    id string
    object_id string

Responses

Restore a trashed object to its original location

Schema

    trash_object

    object

    required

    id string
    keep_until integer
    object_id string
    object_type string

Request Collapse all
Base URL
https://api.katapult.io/core/v1
Auth
Body
{
  "trash_object": {
    "id": "string",
    "object_id": "string"
  }
}
ResponseClear

Click the Send API Request button above and see the response here!