orgs

Purge Org Data

Destroy every row of PHI this organization holds with us. Owner only.

This is the "return or destroy" duty a business associate owes at termination (§164.504(e)(2)(ii)(J)), exercised by the customer's own owner. It is deliberately not a "delete the organization" call: the org, its people, its API keys, its billing history and the three ledgers (audit_logs, phi_access_log, data_purge_records) survive, so the customer can still read the accounting of disclosures and the proof that this purge happened. What goes is listed in app.core.phi_purge.ORG_PURGE_TABLE_ORDER.

Fail-closed: the deletes and the purge record share one transaction. Any failure rolls the whole thing back and the request is retryable. On success the org's PHI activation is revoked (phi_access_approved_at = NULL) so no new PHI lands until it is deliberately re-onboarded.

delete/api/v1/orgs/{slug}/data

Request

  • Base URL: https://api.accurecord.io (the document declares no server; this is the origin it was published from)
  • URL: https://api.accurecord.io/api/v1/orgs/{slug}/data
  • Auth: none declared

Path parameters

slugstring required

Cookies

access_tokenstring nullable

Request body

confirmstring required

Response

Successful Response

object required

Changes

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