Sessions
Deprecated

Update a session

Changed on

Update a specific session identified by id.

put/sessions/{id}

Request

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

Path parameters

idstring uuid required

Request body

isPendingSyncResetboolean

Reset pending sync state

Response

appVersionstring nullable required

App version

createdAtstring required

Creation date

currentboolean required

Is current session

deviceOSstring required

Device OS

deviceTypestring required

Device type

expiresAtstring

Expiration date

idstring uuid required

Session ID

isPendingSyncResetboolean required

Is pending sync reset

updatedAtstring required

Last update date

Changes

    • info

      the response's property pattern ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-4[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$ was added for the status

    • info

      api tag Deprecated added

    • info

      endpoint deprecated