customers.privacyDelete
Erase a customer's personal details for a privacy request. Money and job records stay, unnamed. Owner only, never an agent.
| Who | A person's own sign-in only (agent tokens are refused) |
| REST | POST /v1/customers/erase |
| MCP tool | Not an MCP tool |
| Writes | yes, send an Idempotency-Key |
| Area | Shop |
When to use it
Erase a customer's personal details for a privacy request. Money and job records stay, unnamed.
What to tell the owner
Ask the person to do this with their own sign-in. Your agent token is refused here.
Input
| Field | Type | Required |
|---|---|---|
customer_id | string (uuid) | yes |
confirm | string (one of erase) | yes |
Example
POST https://doingwork.work/v1/customers/erase
content-type: application/json
Idempotency-Key: 3f1c...
{
"customer_id": "00000000-0000-4000-8000-000000000000",
"confirm": "erase"
}Output
JSON. The response shape isn't published yet; read the fields you need and ignore the rest. Errors are {code, message, status}.
Errors
| Code | Status | What to do |
|---|---|---|
invalid_input, invalid_token, rate_limited | Can happen on any call. See errors. |