# Delete an execution context

Launch stage: GA

`POST /api/1.2/contexts/destroy`

Deletes an execution context.

 Delete contexts you no longer need, because a cluster can host only a limited number of execution
 contexts at a time. Deleting a context that no longer exists succeeds, so the call is safe to retry.

API scopes: command-execution

## Request body

- `clusterId` (string, required)
  ID of the cluster that hosts the execution context.
- `contextId` (string, required)
  ID of the execution context to delete, as returned by __Create__.

## Request

```json
{
  "clusterId": "0123-456789-abcdefg1",
  "contextId": "3f2a9c1e8b7d4a6f9e0c1b2d3a4f5e6d"
}
```

## Response

```json
{}
```

