Users

Set user product key

Register a product key for the current user.

put/users/me/license

Request

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

Request body

activationKeystring required

Activation key

licenseKeystring required

License key (format: /^IM(SV|CL)(-[\dA-Za-z]{4}){8}$/)

Response

activatedAtstring date-time required

Activation date

activationKeystring required

Activation key

licenseKeystring required

License key (format: /^IM(SV|CL)(-[\dA-Za-z]{4}){8}$/)

Example response

{
  "activatedAt": "2024-01-01T00:00:00.000Z"
}

Changes

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