Authentication

Setup pin code

Setup a new pin code for the current user.

post/auth/pin-code

Request

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

Request body

pinCodestring required

PIN code (4-6 digits)

Example request

{
  "pinCode": "123456"
}

Changes

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