Skip to main content

Delete Data Policy

Permanently delete a data policy and all its versions, fields, and rules. Requires write scope. Does not affect resolution runs that captured a snapshot.

Permanently delete a data policy and all associated versions, fields, and rules. This action is irreversible. Resolution runs that previously captured a snapshot of this policy are not affected, as they retain their own copy of the policy configuration.

Deletion is permanent. All versions, fields, and rules of this policy are removed. Future resolution runs will not be able to reference this policy. Existing resolution runs with captured snapshots are unaffected.
DELETE/v1/data-policies/{id}

Response

Response fields

deletedbooleanAlways true on success.

curl

Response

{
  "deleted": true
}

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.