customer.anonymize
LGPD: scrub a customer PII (email/name/phone/tax_id) and kill their sessions. Order snapshots are NEVER rewritten.
- Scope:
customer.admin.write - System: no
- Reachable from:
POST /v1/commands/customer.anonymize(tenant credential) · MCP toolcustomer.anonymize· SDKclient.call('customer.anonymize', …) - Events:
customer.anonymized
Input (JSON Schema)
Section titled “Input (JSON Schema)”{ "properties": { "customer_id": { "minLength": 1, "type": "string" } }, "required": [ "customer_id" ], "type": "object"}Result (200)
Section titled “Result (200)”{ "additionalProperties": false, "properties": { "customer_id": { "type": "string" } }, "required": [ "customer_id" ], "type": "object"}Errors
Section titled “Errors”validation_failed (400) · unauthorized (401) · forbidden (403) · conflict (409) · internal (500)