Trash

Empty trash

Permanently delete all items in the trash.

post/trash/empty

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/trash/empty
  • Auth: one of:
    • HTTP bearer
    • API key in cookie immich_access_token
    • API key in header x-api-key

Response

countinteger required

Number of items in trash

Changes

No recorded changes to this operation across all 50 revisions of this API.