Trash

Restore assets

Restore specific assets from the trash.

post/trash/restore/assets

Request

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

Request body

idsstring[] required

IDs to process

Response

countinteger required

Number of items in trash

Changes

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