Update custom attribute

PUT {{baseUrl}}/v1/attributes/:attributeId

Update an existing custom attribute. Once created, the only property of a custom attribute that can be changed is the description.

To change the type or name property of a custom attribute, create a new attribute and update any relevant integrations and rules to use the new attribute.

Request Body

{"entity"=>"Event", "eventType"=>"pageViewed", "name"=>"pageViewed", "title"=>"Page view event", "type"=>"string", "description"=>"Event triggered when a customer displays a page.", "suggestions"=>["string"], "hasAllowedList"=>false, "restrictedBySuggestions"=>false, "editable"=>true, "subscribedApplicationsIds"=>[1, 4, 9], "subscribedCatalogsIds"=>[2, 5], "allowedSubscriptions"=>["application", "catalog"]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring