Cancels the execution of a statement
POST {{baseUrl}}/api/v2/statements/:statementHandle/cancel?requestId={{uuid}}
Cancels the execution of the statement with the specified statement handle.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
requestId | string | Unique ID of the API request. This ensures that the execution is idempotent. If not specified, a new UUID is generated and assigned. |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
User-Agent | string | (Required) Set this to the name and version of your application (e.g. “applicationName/applicationVersion”). You must use a value that complies with RFC 7231. | |
X-Snowflake-Authorization-Token-Type | string | Specify the authorization token type for the Authorization header. KEYPAIR_JWT is for Keypair JWT or OAUTH for oAuth token. If not specified, OAUTH is assumed. | |
Accept | string |