Novi UDM Data (v4) API
Cancel a query
Stop a running query, using the statementHandle from Run a query.
Cancel a query
/api/v2/statements/{statementHandle}/cancelStop a running query, using the statementHandle from Run a query.
Parameters
Path parameters
statementHandlestringRequiredFormat
uuidThe
statementHandlefrom Run a query.
Header parameters
User-AgentstringRequiredYour application's name and version, for example
myApplication/1.0. Snowflake requires a value that complies with RFC 7231.
Responses
200 OK
Snowflake cancelled the query.
statementHandlestringRequiredFormat
uuidcodestringOptionalSnowflake status code. Read it with
message.sqlStatestringOptionalmessagestringOptionalstatementStatusUrlstringOptionalFormat
uri-referencePath to the statement's status.
Errors
| Status | When |
|---|---|
| 422 | Snowflake could not cancel it, for example because no statement has that handle. |
Shared errors400401403404500503504What they mean