Compliance

Redact a customer across all stored PII

Hard-deletes every thread document and memory document within the caller tenant that matches the supplied customer identifiers. Runs as async OpenSearch tasks; the response contains task IDs for reconciliation. Idempotent when caller.externalId is supplied.

post/compliance/customer-redact

Request

  • Base URL: https://api.savanto.ai
  • URL: https://api.savanto.ai/compliance/customer-redact
  • Auth: HTTP bearer

Request body

workspaceIdstring

If provided, limit redaction to a single workspace. Defaults to tenant scope.

Example request

{
  "customer": {
    "email": "[email protected]",
    "phone": "+15551234567",
    "customerId": "12345"
  },
  "caller": {
    "source": "shopify",
    "shopDomain": "acme.myshopify.com",
    "externalId": "99988877"
  },
  "workspaceId": "ws_abc123"
}

Response

Redaction queued (async task submitted)

object'compliance_request' required
requestIdstring required

Example response

{
  "data": {
    "requestId": "cmpl_01HZX1VQJ3...",
    "status": "queued",
    "requestedAt": "2026-04-16T14:22:03.000Z"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.