---
title: "Delete Cookies"
method: DELETE
path: "/api/cmp/v1/webscans/cookies"
tags: ["Cookies"]
---

# Delete Cookies

`DELETE /api/cmp/v1/webscans/cookies`

Use this API to delete cookies by the specified cookie ID or filter criteria.

## Request body

- BulkCookieDeletionRequest
  - `cookieIds` string[], required — The list of cookie identifiers.
  - `filters` CookieFilters, required
    - `status` string[] — The current state or condition of the item.
    - `source` string[] — The source from which the data or cookie originated.
    - `lifespan` string[] — The duration for which the cookie remains active before expiring.
    - `categories` string[] — The cookie categories assigned to the item.
    - `domainCategoryOverrides` string[] — The custom category assignments that override the default settings.
    - `domains` string[] — The list of website domains.
  - `language` string — The language code for localized content.
  - `countryCode` string — The country code for regional settings.
  - `deleteByFilterCriteria` boolean — This flag indicates whether to delete items based on filter conditions rather than specific identifiers.
  - `cookieName` string — The name of the cookie.

## Response `200`

OK

- EntityActionResponseDto[]
  - `entityId` string, uuid — The unique identifier of the entity.
  - `entityType` 'SCAN' | 'DOMAIN' | 'COOKIE' — The type of entity such as cookie, tag, page, form, service, or storage.
  - `action` 'ARCHIVE' | 'SCHEDULE' | 'SCHEDULE_CANCEL' | 'EDIT' | 'CREATE' | 'DELETE' — The action that was performed or is to be performed.
  - `message` string — The message or notification text.
  - `content` object — The main content or data payload of the response.
  - `success` boolean — This flag indicates whether the operation completed successfully.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `429` — Too Many Requests. For more information, see [API Rate Limits](https://developer.onetrust.com/onetrust/reference/rate-limits-overview).
- `500` — Internal Server Error

---

[API](https://skmtc.net/onetrust/apis/platform-access-management.md) · [All operations](https://skmtc.net/onetrust/apis/platform-access-management/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/onetrust/platform-access-management/versions/21de3aa0b170/schema)
