Delete Customer
Intent
Removes the customer.
When to call it
Call this only after your application has identified the customer that should be removed.
Access boundary
Authorize the request with a token that carries customers:write.
Successful result
A successful request returns 204 without a response document.
Operational notes
This action cannot be undone and will immediately:
- Cancel any active subscriptions for the customer
- Revoke all their benefits
- Clear any
external_id
Use it only in the context of deleting a user within your own service. Otherwise, use more granular API endpoints to cancel a specific subscription or revoke certain benefits.
Note: The customers information will nonetheless be retained for historic orders and subscriptions.
Set anonymize=true to also anonymize PII for GDPR compliance.
Authorizations
Path Parameters
Identifier of the customer.
Query Parameters
Parameter: Enable this to anonymize the customer's personal information for GDPR requests. Ruba hashes the email, name, and billing name, except business names with a tax_id; it also clears the billing address and removes connected OAuth data.
Response
Response: Customer deleted.