Edit VMware Cloud Director Credentials

To edit a user’s VMware Cloud Director credentials, use the following request:

1
2
PUT /users/:user_id/vcloud_credentials.xml
PUT /users/:user_id/vcloud_credentials.json

XML Request Example

1
curl -i -X PUT -u user:userpass -H 'Accept: application/xml' -H 'Content-Type: application/xml' http://onapp.test/users/12/vcloud_credentials.xml -d '<vcloud-credentials><password>newpassword</password></vcloud-credentials>'

JSON Request Example

1
curl -i -X PUT -u user:userpass -H 'Accept: application/json' -H 'Content-Type: application/json' http://onapp.test/users/12/vcloud_credentials.json -d '{"vcloud_credentials":{"password": "newpassword"}}

Where:

password - type in your VMware Cloud Director password