---
title: "Tag Customers (to Labels)"
method: POST
path: "/customers/{userId}/changeLabels"
deprecated: true
---

# Tag Customers (to Labels)

`POST /customers/{userId}/changeLabels`

> **Deprecated.**

Lets you tag a customer to one or more customer labels or remove an existing label.

## Path parameters

- `userId` string, required

## Request body

- object
  - `add` object — Labels to add for the customer.
    - `labelName` string — Label name to add for the customer.
  - `remove` object — Labels that need to be removed for the customer.
    - `labelName` string — Name of the label to be removed.

## Response `200`

200

- object
  - `entity` integer
  - `warnings` unknown[]
    - unknown

## Other responses

- `400` — 400

---

[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/versions/de241f2ed9b3/schema)
