Zitadel Preview Docs

Set user password

PUT
/users/{user_id}/password

Authorization

oauth2 user.write
AuthorizationBearer <token>

In: header

Scope: user.write

Path Parameters

user_id*string

Query Parameters

project_id*string

The unique identifier of the project

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Request to update the user's password.

Response Body

application/json

application/json

application/json

application/json

curl -X PUT "https://example.com/users/user_id_12345/password?project_id=river-8421" \  -H "Content-Type: application/json" \  -d '{    "password": "string"  }'
Empty
{  "code": "string",  "message": "string",  "details": {}}
{  "code": "string",  "message": "string",  "details": {}}
{  "code": "string",  "message": "string",  "details": {}}
{  "code": "string",  "message": "string",  "details": {}}