Update the current user
Updates preferences on the authenticated user’s own account. Only the fields included in the request body are changed. This endpoint does not accept a user ID; it always updates the authenticated caller. When the credential is limited to selected libraries, an immich_library_id outside them returns 403 without changing anything, whether or not that library exists. Otherwise it returns 404, without changing anything, when immich_library_id names a library the caller cannot choose; the response is the same whether or not that library exists. home_country, home_subdivision and face_detection_preference can be changed only from a signed-in app session: an API key or OAuth credential that sends any of them gets 403 and nothing changes. Setting face_detection_preference to true returns 409, which is not retryable, when automatic face detection is not available for the home region. Declaring such a home region sets the preference to false. Changing these settings keeps face data already stored.
Authorizations
Body
Updatable fields on the authenticated user's own account.
Preferred library. Must be a live library the caller owns or has the collaborator role in, and that the request's credential covers. An id a credential limited to selected libraries doesn't cover returns 403; any other ineligible id returns 404. Omit to leave unchanged; send null to clear the preference and use the default.
Response
Successful Response
Represents a user account with profile information.