Delete category by ID
curl --request DELETE \
--url https://cookiechimp.com/api/v1/categories/{id} \
--header 'Authorization: <api-key>'
{
"id": "essential",
"name": "Essential",
"description": "Cookies essential for website functionality",
"required": true,
"created_at": "2023-01-01T00:00:00Z",
"updated_at": "2023-01-02T00:00:00Z"
}
ID of the resource
Category deleted
The response is of type object
.
Was this page helpful?
curl --request DELETE \
--url https://cookiechimp.com/api/v1/categories/{id} \
--header 'Authorization: <api-key>'
{
"id": "essential",
"name": "Essential",
"description": "Cookies essential for website functionality",
"required": true,
"created_at": "2023-01-01T00:00:00Z",
"updated_at": "2023-01-02T00:00:00Z"
}