Skip to content

Creates a change-password resource.​

POST
/api/users/me/password

Creates a change-password resource.

Authorizations​

ApiToken

Long-lived API token created via POST /api/api-tokens (returned once in plaintext). A token created with readOnly may only perform safe requests (GET, HEAD, OPTIONS); write requests are rejected on every endpoint.

Type
API Key (header: X-API-TOKEN)
or
JWT

JWT access token obtained via POST /api/auth/login. Send as: Authorization: Bearer .

Type
HTTP (bearer)

Request Body​

JSON
{
  
"currentPassword": "string",
  
"newPassword": "string"
}

Responses​

change-password resource created

Playground​

Authorization
Body

Samples​

Powered by VitePress OpenAPI