/data_attributes/{data_attribute_id}Update a data attribute
Updates a data attribute's archived status, description, Messenger write access, or list options. You cannot change the attribute's data type through this API; use the UI to change it.
Fields to update on the data attribute. For list attributes, provide at least two options.
One documented failure
parameter_invalidOptions isn't an array
One documented failure
unauthorizedAccess Token Invalid
One documented failure
field_not_foundWe couldn't find that data attribute to update
One documented failure
data_invalidThe Data Attribute you are trying to archive has a dependant object
A 400 is returned when a list attribute has fewer than two options; a 401 is returned when the request is unauthorized; a 404 is returned when the attribute is not found; and a 422 is returned when the attribute has a dependent object. The data_attribute_id path parameter identifies the attribute to update. For a list attribute, options must contain at least two entries; change data_type through the UI, not this API.