# Cancel statement execution

Launch stage: GA

`POST /api/2.0/sql/statements/{statement_id}/cancel`

Requests that an executing statement be canceled. Callers must poll for status to see the
 terminal state. Cancel response is empty; receiving response indicates successful receipt.

API scopes: sql

## Path parameters

- `statement_id` (string, required)
  The statement ID is returned upon successfully submitting a SQL statement, and is a required
   reference for all subsequent calls.

## Request body

- `warehouse_id` (string, optional)
  For warehouse statement URLs, this field contains the warehouse_id path parameter.

## Response

```json
{}
```

