Undelete
POST/api/v1/assets/trash/:asset_id/undelete
API to undelete an asset that has been deleted.
Warning: For undelete only "original" key is accepted.
Note: Note that upon a asset restore operation, conversions enabled in the profile will be re-generated.
Webhook callback on undelete completion
Once the undelete request is completed, callback is issued to configured Webhook.
Please see Tools & Integration- > Webhooks section for file-undeleted event callback to learn about the callback JSON structure.
HTTP Response
Standard HTTP Status code - 202 or 200
Request
Responses
- 200
- 401
- 403
- 500
Successful operation
Unauthorized - Invalid or missing authentication
Forbidden - Insufficient permissions
Internal server error