PUT /data_attributes/{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.
Servers
- https://api.intercom.io
- https://api.eu.intercom.io
- https://api.au.intercom.io
Path parameters
Name | Type | Required | Description |
---|---|---|---|
id |
Integer | Yes |
The data attribute id |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Intercom-Version |
String | No |
Possible values:
Default value: "2.12" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
messenger_writable |
Boolean | No |
Can this attribute be updated by the Messenger |
archived |
Boolean | No |
Whether the attribute is to be archived or not. |
description |
String | No |
The readable description you see in the UI for the attribute. |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.