Skip to main content
DELETE
/
categories
/
{id}
Delete category
curl --request DELETE \
  --url https://cookiechimp.com/api/v1/categories/{id} \
  --header 'Authorization: Bearer <token>'
{
  "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"
}

Documentation Index

Fetch the complete documentation index at: https://docs.cookiechimp.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API token obtained from the login endpoint or the dashboard

Path Parameters

id
string
required

ID of the resource

Response

Category deleted

name
string
required

Name of the category that is displayed to users

description
string
required

Description of the category that is displayed to users

required
boolean
required

Whether the category is required for the website to function

id
string
read-only

Unique identifier for the category

created_at
string<date-time>
read-only

Date and time when the category was created

updated_at
string<date-time>
read-only

Date and time when the category was last updated