[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director
Change Password
DescriptionModify an existing user’s own password
Request
URLURL
https://{api_host}/cloudapi/1.0.0/users/{userUrn}/changePassword
Path Parameters
Path Parameters
string
userUrn
Required
userUrn
Request Body
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.
Authentication
This operation uses the following authentication methods.
No error details were provided in the OpenAPI specification.
Code SamplesCode Samples
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"currentPassword":"string","newPassword":"string"}' https://{api_host}/cloudapi/1.0.0/users/{userUrn}/changePassword
Vendor Extensions
This operation contains the following vendor extensions defined in the spec:
x-vcloud-event: com/vmware/vcloud/event/user/password/modify
[{"label":"Latest (v37.2)","version":"latest"},{"version":"v37.1"},{"version":"v37.0"},{"version":"v36.3"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director
Availability
Added in 36.3
On This Page
User Operations
post
post
delete
get
get
post
put