Skip to content
v0.3

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 tool customer.anonymize · SDK client.call('customer.anonymize', …)
  • Events: customer.anonymized
{
"properties": {
"customer_id": {
"minLength": 1,
"type": "string"
}
},
"required": [
"customer_id"
],
"type": "object"
}
{
"additionalProperties": false,
"properties": {
"customer_id": {
"type": "string"
}
},
"required": [
"customer_id"
],
"type": "object"
}

validation_failed (400) · unauthorized (401) · forbidden (403) · conflict (409) · internal (500)