Update User Preference
Update a preference for a specific user.
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"
}
Responses
200
OK
Returns
Preference
of type(s)
application/json;version=9.1.0
{
"classifier": "string",
"name": "string",
"value": "string"
}
Vendor Extension
This operation contains the following vendor extensions defined in the spec:
[{"type":"Modern"},{"type":"Classic"}]
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}
Availability
Added in 9.0.0
On This Page
Preferences Operations
GET
Query Preferences Vcf
GET
Get Preference
PUT
Update Preference
GET
Query User Preferences
GET
Get User Preference
PUT
Update User Preference