Anonymize a customer, irreversibly (write)
anonymize_customerErase a customer's name and email for GDPR erasure requests, retaining invoices and subscription history. Confirm the customer reference and settle any due invoices; irreversible, never for test data.
Instructions
WRITE, AND IRREVERSIBLE. Erases the personal data of a ProAbono customer -- name and email -- and keeps their invoices and their subscription history, which is what a GDPR erasure asks of a billing system. There is no de-anonymization: the Live API offers none, and the erased values cannot be recovered from ProAbono by any means. This is the only tool in this server whose effect cannot be undone. Use it to serve an erasure request, never to tidy up test data, and confirm with the developer that this is the customer they mean before calling it -- the reference is the only thing identifying them, and a typo anonymizes somebody else. ProAbono refuses the call while the customer still has a due invoice: settle or cancel what is outstanding first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customer_ref | Yes | Shared reference of the customer whose personal data is erased. |