Skip to content

Reference

Privacy

Erasing a person's details.

View as Markdown

Every operation below is also in the OpenAPI document. One that names an MCP tool can be called through the MCP server; one that names none cannot.

Erase a person's details#

POST /v1/buyers/erase

Operation id eraseBuyer. MCP tool erase_buyer. SDK tickets.buyers.erase.

Erases one person's details, found by their email. A phone alone is accepted only when its matches carry one email, else it is refused and asks for the email. The answer says what stayed, and why. dry_run: true says what would be erased. A real erase, even one that finds nothing, leaves a keyed hash of the email and phone and nothing else, with no expiry, so the person stays out of history imported later. This cannot be undone.

Who may call it. Any one of: An API key with scope full. Any other scope answers insufficient_scope; A signed-in dashboard member whose role has privacy.erase (owner, admin).

Request body (EraseBuyerInput)

FieldTypeDescription
emailstring (email)An email address.
phonestringA phone number in E.164, e.g. +13135550123.
dry_runboolean
JSON
{
  "email": "jordan@example.com",
  "dry_run": true
}

Answers 200. Erased (or, dry_run, what would be).

Fields (BuyerErasure)

FieldTypeDescription
object *"buyer_erasure"
mode *Modetest or live, decided by the key (rt_test_… or rt_live_…). Test and live data never mix.
dry_run *boolean
orders *integer
tickets *integer
transfers *integer
importedintegerSent only when imported buyer rows were found: how many were removed (POST /v1/history/imports keeps a buyer only when the file marks consent).
erased_at *string | nullAn instant in ISO 8601 with its zone, e.g. 2027-07-17T20:00:00Z. Answers are always UTC.

* required

Errors of its own. invalid_state_transition. The errors every operation can answer are on the errors page.