contacts

Update contact attribute

Update an existing contact attribute identified by its category and name. For category-type attributes, you can update the enumeration values; for calculated or global attributes, update the computed value formula; and for normal multiple-choice attributes, update the multicategory options. None of the category or multicategory option values can exceed 200 characters.

put/contacts/attributes/{attributeCategory}/{attributeName}

Request

  • Base URL: https://api.brevo.com/v3
  • URL: https://api.brevo.com/v3/contacts/attributes/{attributeCategory}/{attributeName}
  • Auth: API key in header api-key

Path parameters

attributeCategory'category' | 'calculated' | 'global' | 'normal' required

Category of the attribute

attributeNamestring required

Name of the existing attribute

Request body

multiCategoryOptionsstring[]

Use this option to add multiple-choice attributes options only if the attribute's category is "normal". This option is specifically designed for updating multiple-choice attributes. None of the multicategory options can exceed max 200 characters.. For example: ["USA","INDIA"]

valuestring

Value of the attribute to update. Use only if the attribute's category is 'calculated' or 'global'

Response

Attribute updated

object required

Changes

No recorded changes to this operation across all 1 revision of this API.