Skip to main content
PUT
/
frontend
/
api
/
v1
/
auth
/
{user-id}
/
password
Update sub user password
curl --request PUT \
  --url https://{host}/frontend/api/v1/auth/{user-id}/password \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "new-password": "<string>",
  "old-password": "<string>",
  "password-update-token": "<string>"
}
'
{
  "code": 123,
  "context": {},
  "error": "<string>",
  "status": "<string>"
}

Authorizations

Authorization
string
header
required

API Key Security (Header).

Path Parameters

user-id
integer
required

User ID.

Required range: x >= 1

Query Parameters

logout-all
boolean
default:false

Invalidate other sessions

Body

new-password
string<password>
required
Required string length: 6 - 72
old-password
string<password>
required
password-update-token
string<jwt>

Token for password update.

Response

No Content