Skip to main content
curl -X DELETE https://api.chargeapi.co/v1/policies/pol_9xe0A6qa63r3SAobPHjSNlxg5FhpHrub \
  -H "Authorization: Bearer ch_sk_test_..."
{
    "id": "pol_9xe0A6qa63r3SAobPHjSNlxg5FhpHrub",
    "object": "policy",
    "deleted": true
}
Permanently deletes a policy. Charge stops applying it immediately.
curl -X DELETE https://api.chargeapi.co/v1/policies/pol_9xe0A6qa63r3SAobPHjSNlxg5FhpHrub \
  -H "Authorization: Bearer ch_sk_test_..."
{
    "id": "pol_9xe0A6qa63r3SAobPHjSNlxg5FhpHrub",
    "object": "policy",
    "deleted": true
}

Parameters

No parameters.

Returns

Returns the deleted policy.