saveUserPreference

Request
Security:
vc-security
Request Body schema: application/json
object (UserKey)
category
string

The category of the preference

subCategory
string

The subcategory of the preference

attributeKey
string [ 1 .. 255 ] characters

The key of the preference

attributeValue
string [ 1 .. 50000 ] characters

The value of the preference

Responses
200

Created or Updated User Preference

post/user-preference-service/v1/userpreference/save
Request samples
application/json
{
  • "userKey": {
    },
  • "category": "UI",
  • "subCategory": "notification",
  • "attributeKey": "dashboard-event-column-name",
  • "attributeValue": "Event Name"
}
Response samples
application/json
{
  • "userKey": {
    },
  • "category": "UI",
  • "subCategory": "notification",
  • "attributeKey": "dashboard-event-column-name",
  • "attributeValue": "Event Name"
}