Skip to main content
DELETE
/
v1
/
customers
/
external
/
{external_id}
Delete Customer by External ID
curl --request DELETE \
  --url https://api.spairehq.com/v1/customers/external/{external_id} \
  --header 'Authorization: Bearer <token>'
{
  "error": "<string>",
  "detail": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.spairehq.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

You can generate a Personal Access Token from your settings.

Path Parameters

external_id
string
required

The customer external ID.

Query Parameters

anonymize
boolean
default:false

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

Response

Customer deleted.