---
title: "Delete policy"
method: DELETE
path: "/v2/policy-engine/policies/{policyId}"
tags: ["Policy Engine"]
---

# Delete policy

`DELETE /v2/policy-engine/policies/{policyId}`

## Request

- Base URL: `https://api.cdp.coinbase.com/platform`
- URL: `https://api.cdp.coinbase.com/platform/v2/policy-engine/policies/{policyId}`
- Auth: HTTP bearer

Delete a policy by its ID. This will have the effect of removing the policy from all accounts that are currently using it.

## Path parameters

- `policyId` string, required

## Query parameters

- `groupType` 'project' | 'entity': Whether policy operations use the entity ID or the project ID from the caller's credential.

## Headers

- `X-Idempotency-Key` string

## Response `204`

Successfully deleted policy.

## Other responses

- `400`: Unable to delete policy.
- `404`: Policy not found.
- `409`: The resource already exists.
- `422`: Idempotency key conflict.
- `500`: Internal server error.
- `502`: Bad gateway.
- `503`: Service unavailable.

## Changes

- **2026-12-01** `06cb41a4fb57`: 7 warning, 1 info
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `400`
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `404`
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `409`
  - added the new `policy_not_applicable` enum value to the `errorType` response property for the response status `422`
  - …4 more
- **2026-10-16** `ff3c1fdef902`: 7 warning
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `400`
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `404`
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `409`
  - added the new `entity_not_configured_for_top_up` enum value to the `errorType` response property for the response status `422`
  - …3 more
- …earlier changes not shown

[Operation history](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/changes/v2/policy-engine/policies/:policyId/delete.md)

---

[API](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis.md) - [All operations](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/coinbase/apis/coinbase-developer-platform-apis/revisions/06cb41a4fb57?raw)
