Users (admin)

Retrieve user sessions

Changed on

Retrieve all sessions for a specific user.

get/admin/users/{id}/sessions

Request

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

Path parameters

idstring uuid required

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