Changed1
[{"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

Description

Modify an existing user’s own password

Request

Request

URL

URL


post
https://{api_host}/cloudapi/1.0.0/users/{userUrn}/changePassword
Copy

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

Authentication

This operation uses the following authentication methods.

Response

Response

204 No Content

No Content

No error details were provided in the OpenAPI specification.

Code Samples

Code 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

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
What's changed in v37.0?
INTRODUCED
Feedback

Was this page helpful?