API v1 Documentation
Client API > Response
Client API > Contacts
Client API > Display
Client API > Environment
Client API > User
Management API > Action Class
Management API > Attribute Class
Management API > Contact Attribute Keys
Management API > Contact Attributes
Management API > Contacts
Management API > Me
Management API > People
Management API > Response
Management API > Storage
Management API > Survey
Management API > Webhook
Health
Delete Attribute Class
Delete an attribute class by its ID. Please note that you currently cannot delete the “automatic” type of attributes. Please ignore them if you do not wish to utilise them.
DELETE
/
api
/
v1
/
management
/
attribute-classes
/
{attributeClassId}
curl --request DELETE \
--url http:///%7B{baseurl}%7D/api/v1/management/attribute-classes/{attributeClassId} \
--header 'x-api-key: <x-api-key>'
{
"data": {
"archived": false,
"createdAt": "2024-04-22T08:59:27.319Z",
"description": null,
"environmentId": "clurwouax000azffxt7n5unn3",
"id": "clvaq78470004mhqfm0x3kasv",
"name": "Init Attribute 2",
"type": "code",
"updatedAt": "2024-04-22T08:59:27.319Z"
}
}
Headers
Path Parameters
Response
200
application/json
OK
The response is of type object
.
Was this page helpful?
curl --request DELETE \
--url http:///%7B{baseurl}%7D/api/v1/management/attribute-classes/{attributeClassId} \
--header 'x-api-key: <x-api-key>'
{
"data": {
"archived": false,
"createdAt": "2024-04-22T08:59:27.319Z",
"description": null,
"environmentId": "clurwouax000azffxt7n5unn3",
"id": "clvaq78470004mhqfm0x3kasv",
"name": "Init Attribute 2",
"type": "code",
"updatedAt": "2024-04-22T08:59:27.319Z"
}
}