Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

Authorization: Bearer <token>. Accepts EITHER a Keycloak access token (scopes-in-token) OR an opaque POS session token; both resolve to the same pos.* scope vocabulary the route guards enforce.

Path Parameters

id
string
required

The customer id to act on, e.g. cust-1 (client Customer.id).

Minimum string length: 1

Response

The erasure receipt: the scrubbed customer AS IT NOW STANDS (id and loyalty ledger preserved, status already the terminal anonymized) plus how many denormalized copies of their name were cleared alongside the record. Adopt this record as the customer's new state — do not re-read, and never assemble the standing yourself.

The erasure receipt: the scrubbed customer AS IT NOW STANDS (id and loyalty ledger preserved, status already the terminal anonymized) plus how many denormalized copies of their name were cleared alongside the record. Adopt this record as the customer's new state — do not re-read, and never assemble the standing yourself.

customer
object
required
identityCopiesCleared
integer
required
Required range: 0 <= x <= 9007199254740991