[{"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
Update Preference
DescriptionUpdate specified user preference
Request
URLURL
https://{api_host}/cloudapi/1.0.0/preferences/{classifier}
Path Parameters
Path Parameters
string
classifier
Required
Request Body
Request Body
Preference
of type(s) application/json
Required
{
"classifier": "string",
"name": "string",
"value": "string"
}
string
classifier
Required
unique indetifier for this preference definition. It will be of type
string
name
Required
Display name. This is same as preference definition name and is immutable.
string
value
Required
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
Preference
of type(s) application/json;version=36.3
string
classifier
Required
unique indetifier for this preference definition. It will be of type
string
name
Required
Display name. This is same as preference definition name and is immutable.
string
value
Required
No error details were provided in the OpenAPI specification.
Code SamplesCode Samples
cURL Command
curl -X PUT -H "Content-Type: application/json" -d '{"classifier":"string","name":"string","value":"string"}' https://{api_host}/cloudapi/1.0.0/preferences/{classifier}
[{"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 32.0