Skip to main content
DELETE
/
v1
/
customers
/
external
/
{external_id}
Python (SDK)
from polar_sdk import Polar


with Polar(
    access_token="<YOUR_BEARER_TOKEN_HERE>",
) as polar:

    polar.customers.delete_external(external_id="<id>")

    # Use the SDK ...
{
  "error": "<string>",
  "detail": "<string>"
}

Authorizations

Authorization
string
header
required

You can generate an Organization Access Token from your organization's settings.

Path Parameters

external_id
string
required

The customer external ID.

Response

Customer deleted.