Change Password

Change Password

Modify an existing user's own password

Request
URI
POST
https://{api_host}/cloudapi/1.0.0/users/{userUrn}/changePassword
COPY
Path Parameters
string
userUrn
Required

userUrn


Request Body
PasswordChangeRequest of type(s) application/json
Required
{
    "currentPassword": "string",
    "newPassword": "string"
}
string
currentPassword
Required

Existing password of the user.

string
newPassword
Required
Constraints: minLength: 6 maxLength: 128

New password to be set. Please specify a password that is different from your current password.

Authentication
This operation uses the following authentication methods.
Responses
204

No Content

Operation doesn't return any data structure

Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"currentPassword:"string","newPassword:"string"}' https://{api_host}/cloudapi/1.0.0/users/{userUrn}/changePassword