# Cancel Workflow Run

> Cancel an ongoing workflow run.

## Endpoint

`DELETE https://qstash-{region}.upstash.io/v2/workflows/runs/{workflowRunId}`

## Parameters

- `workflowRunId` (path, string, required): The ID of the workflow run to cancel.

## Responses

### 200 - Workflow run cancelled successfully

### 404 - A workflow run is not found with the given id.

### 500 - An unexpected error occured.

## cURL

```bash
curl --request DELETE \
  --url https://qstash-{region}.upstash.io/v2/workflows/runs/{workflowRunId} \
  --header 'Authorization: Bearer <token>'
```
