# Cancel Pending Cluster Enforcement

Launch stage: GA

`POST /api/2.0/policies/clusters:cancelPendingClusterEnforcement`

Cancels a pending enforcement on a cluster. After canceling the pending enforcement,
 the cluster will no longer update on the next termination or restart.
 Pending enforcements cannot be canceled when a cluster is in `TERMINATING` state.
 Only workspace admins can cancel pending enforcements.

API scopes: clusters

## Request body

- `cluster_id` (string, optional)
  The ID of the cluster to cancel the pending enforcement for.
- `allow_missing` (boolean, optional)
  If true and no pending enforcement exists, the request will succeed but no action
   will be taken.
  Default: `false`

## Response

```json
{}
```

