Skip to Content
ZITADEL Docs
APIsCore ResourcesV2User

Change password

Deprecated: Update the users password instead.

Change the password of a user with either a verification code or the current password..

POST
/v2/users/{user_id}/password

Path Parameters

user_id*user_id

Request Body

application/json
  1. body
newPassword?
currentPassword*current_password

Response Body

Success

application/json
  1. response
details?
Example Request
curl -X POST 'https://example.com/v2/users/string/password' \  -H 'Content-Type: application/json' \  -d '{  "currentPassword": "string"}'
Example Response200
{  "details": {    "sequence": 0,    "changeDate": "2023-01-15T01:30:15.01Z",    "resourceOwner": "string",    "creationDate": "2023-01-15T01:30:15.01Z"  }}

Was this page helpful?