---
title: "Delete Customer by External ID"
method: DELETE
path: "/v1/customers/external/{external_id}"
tags: ["customers", "public"]
---

# Delete Customer by External ID

`DELETE /v1/customers/external/{external_id}`

Delete a customer by external ID.

Immediately cancels any active subscriptions and revokes any active benefits.

Set `anonymize=true` to also anonymize PII for GDPR compliance.

**Scopes**: `customers:write`

## Path parameters

- `external_id` string, required — The customer external ID.

## Query parameters

- `anonymize` boolean — If true, also anonymize the customer's personal data for GDPR compliance.

## Response `204`

Customer deleted.

## Other responses

- `404` — Customer not found.
- `422` — Validation Error

---

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