DELETE/api/v1/trash/{slug}

Delete forever

Deletes an item in the trash, and what was deleted with it, for good. This can't be undone. items lists what was deleted.

Token optionalOr edit secret10 per minute per IP

Guide: Trash

Code samples and Try it

Path parameters

#
  • slugstringRequired

    The item's address, or a deleted folder's id, from List the trash.

Headers

#
  • X-Edit-Secretstring

    The document's edit secret (sk_…), for a document published without an account. See Edit key.

Responses

#
  • 200OK.
  • 422The request didn't validate. detail lists each problem, with where it is (loc) and why (msg).
  • 429Too many requests from your IP address. Wait the seconds in Retry-After.
Did this page help?