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
New password to be set. Please specify a password that is different from your current password. Passwords must be at least 15 characters long and contain 1 of each of the following: lowercase letter, uppercase letter, digit, special character
Responses
204
No Content
Operation doesn't return any data structure
Vendor Extension
This operation contains the following vendor extensions defined in the spec:
[object Object],[object Object]
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
Availability
Added in 36.3
On This Page
User Operations
GET
Query Users
POST
Create User
GET
Get User
PUT
Update User
DELETE
Delete User
GET
Query User Groups
PUT
Modify User Groups
POST
Change Password
POST
Take Ownership