# Cancel All Runs

Launch stage: GA

`POST /api/2.2/jobs/runs/cancel-all`

Cancels all active runs of a job. The runs are canceled asynchronously, so it doesn't
 prevent new runs from being started.

API scopes: jobs

## Request body

- `job_id` (int64, optional)
  The canonical identifier of the job to cancel all runs of.
  Example: `11223344`
- `all_queued_runs` (boolean, optional)
  Optional boolean parameter to cancel all queued runs. If no job_id is provided, all queued runs in the workspace are canceled.
  Default: `false`
  Example: `false`

## Response

```json
{}
```

