customers
public

Delete Customer by 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

delete/v1/customers/external/{external_id}

Request

  • Base URL
    https://api.polar.sh
  • URL
    https://api.polar.sh/v1/customers/external/{external_id}
  • Auth
    • OpenID Connect (/.well-known/openid-configuration, scopes: customers:write)
    • or HTTP bearer
    • or HTTP bearer

Path parameters

external_idstring required

The customer external ID.

Query parameters

anonymizeboolean

If true, also anonymize the customer's personal data for GDPR compliance.

Response

Customer deleted.

Changes

No recorded changes to this operation across all 11 revisions of this API.