provider Data Attributes PUT /data_attributes/{data_attribute_id}
@utdk/intercom /data_attributes/{data_attribute_id}
Update a data attribute
You can update a data attribute. > 🚧 Updating the data type is not possible > > It is currently a dangerous action to execute changing a data attribute's type via the API. You will need to update the type via the UI instead.
Intercom-Version header
enum: 1.0, 1.1, 1.2, 1.3…
data_attribute_id path required
The data attribute id
integer

Try it

Authentication
Configure credentials for Intercom API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

updatedataattribute
PUT/data_attributes/{data_attribute_id}
You can update a data attribute. > 🚧 Updating the data type is not possible > > It is currently a dangerous action to execute changing a data attribute's type via the API. You will need to update the type via the UI instead.

Parameters

required

The data attribute id

Input

Whether the attribute is to be archived or not.

The readable description you see in the UI for the attribute.

Can this attribute be updated by the Messenger

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import intercom from '@utdk/intercom';

await intercom.updatedataattribute({
  "Intercom-Version": "2.14"
})