Update User Preference

Update User Preference

Update a preference for a specific user.

Request
URI
PUT
https://{api_host}/cloudapi/1.0.0/users/{userUrn}/preferences/{classifier}
COPY
Path Parameters
string
userUrn
Required

userUrn

string
classifier
Required

classifier


Request Body
Preference of type(s) application/json
Optional
{
    "classifier": "string",
    "name": "string",
    "value": "string"
}
Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns Preference of type(s) application/json;version=40.0
"Preference Object"
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

Value for user preference.


Vendor Extension

This operation contains the following vendor extensions defined in the spec:

                    [object Object],[object Object]
                
Code Samples
COPY
                    curl -X PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"classifier:"string","name:"string","value:"string"}' https://{api_host}/cloudapi/1.0.0/users/{userUrn}/preferences/{classifier}