---
title: "Delete customer"
method: DELETE
path: "/customers/{customerId}"
---

# Delete customer

`DELETE /customers/{customerId}`

## Request

- Base URL: `https://api.sandbox.cleeng.com/3.1`
- URL: `https://api.sandbox.cleeng.com/3.1/customers/{customerId}`
- Auth: API key in header `X-Publisher-Token`

Use this endpoint to delete customer data (anonymize a <<glossary:customer>>) in Cleeng. Customer data is anonymized for reporting reasons, and also to comply with privacy legislation (such as GDPR). <br><br> The following personal customer data will be anonymized/deleted: email, password, first name, last name, address, company name, phone number, capture custom answers, IP addresses. <br><br> You **cannot** remove a customer’s data if the customer has an active entitlement (e.g. active subscription). <br><br> **Important: Please note that anonymization is an irreversible process.**

## Path parameters

- `customerId` string, required

## Headers

- `Content-Type` string

## Response `200`

200

- object
  - `success` boolean
  - `data` unknown[]
    - unknown
  - `message` string

## Other responses

- `400`: 400
- `404`: 404
- `422`: 422

---

[API](https://skmtc.dev/cleeng/apis/api-31.md) - [All operations](https://skmtc.dev/cleeng/apis/api-31/llms.txt) - [OpenAPI document](https://skmtc.dev/cleeng/apis/api-31/revisions/df55396cda4f?raw)
