ZitadelDocs

Set user password

PUT
/users/{user_id}/password

Authorization

oauth2 user.write
headerAuthorizationBearer <token>

Scope: user.write

Path Parameters

user_id*string
Match^user_[a-zA-Z0-9_-]+$

Request Body

application/json
  1. body

Request to update the user's password.

password*string

The new password for the user.

Response Body

The user password was set successfully

curl -X PUT 'https://example.com/users/string/password' \  -H 'Content-Type: application/json' \  -d '{  "password": "string"}'
Empty