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

KeyDatatypeRequiredDescription
requestIdstringUnique ID of the API request. This ensures that the execution is idempotent. If not specified, a new UUID is generated and assigned.

HEADERS

KeyDatatypeRequiredDescription
User-Agentstring(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-TypestringSpecify 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.
Acceptstring