---
title: "Remove label assignments"
method: DELETE
path: "/v2/labels/assignments"
---

# Remove label assignments

`DELETE /v2/labels/assignments`

## Headers

- `Authorization` string
- `X-CAP-API-OAUTH-TOKEN` string

## Request body

- object
  - `entityType` 'CUSTOMER' | 'PRODUCT' | 'STORE', required
  - `removals` object[], required
    - `entityId` string, required
    - `labelIds` integer[]
    - `labelNames` string[]
    - `labelExternalIds` string[]

## Response `200`

All assignments removed.

## Other responses

- `207` — Partial success — some removed, some with warnings.
- `400` — All removals failed validation.

---

[API](https://skmtc.net/capillarytech/apis/sample-api.md) · [All operations](https://skmtc.net/capillarytech/apis/sample-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/capillarytech/sample-api/revisions/de241f2ed9b3/schema)
