Skip to main content

Delete Data Policy

Permanently delete a data policy with all its versions, fields, and rules. Resolution runs keep their captured snapshots. Irreversible, write scope.

Permanently delete a data policy and everything under it: versions, fields, and rules. This action is irreversible. Resolution runs that previously captured a snapshot of the policy are not affected, because each run retains its own copy of the configuration it executed.

Deletion is permanent. All versions, fields, and rules of this policy are removed, and future pipelines can no longer reference it. Existing resolution runs with captured snapshots keep working and stay auditable.
DELETE/v1/data-policies/{id}

Path parameters

id*uuidData policy UUID.

Response

Response fields

deletedbooleanAlways true on success.
idstringUUID of the deleted policy.

curl

Response

{
  "deleted": true,
  "id": "p1a2b3c4-e5f6-7890-abcd-ef1234567890"
}

Errors

Error responses

401unauthorizedMissing or invalid API key.
404not_foundData policy not found or does not belong to your organization.
429rate_limitedToo many requests. Retry after the period indicated in the Retry-After header.

Before deleting, export the configuration you might want back: GET /v1/data-policies/{id} returns the full policy with fields and rules inlined, which is enough to reconstruct it later. If the policy is wired into a pipeline's Resolve stage, update the pipeline first so future runs do not reference a missing policy.