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

Description

Update specified user preference

Request

Request

URL

URL


put
https://{api_host}/cloudapi/1.0.0/preferences/{classifier}
Copy

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 :. e.g vrops:myworkflow. This is immutable


string
name Required

Display name. This is same as preference definition name and is immutable.


string
value Required
Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response 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 :. e.g vrops:myworkflow. This is immutable


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 Samples

Code 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
Feedback

Was this page helpful?