Authentication

Logout

Logout the current user and invalidate the session token.

post/auth/logout

Request

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

Response

redirectUristring required

Redirect URI

successfulboolean required

Logout successful

Changes

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