POST
/
v1
/
execution
/
{execution_id}
/
cancel

curl -X POST -H x-dune-api-key:{{api_key}} "https://api.dune.com/api/v1/execution/{{execution_id}}/cancel"

{
  "success": true
}

You must pass the execution_id obtained from making an execute query POST request.

Result returns a boolean for whether the execution is successfully canceled.


curl -X POST -H x-dune-api-key:{{api_key}} "https://api.dune.com/api/v1/execution/{{execution_id}}/cancel"

Headers

X-Dune-Api-Key
string
required

API Key for the service

Path Parameters

execution_id
string
required

The unique identifier of the execution

Query Parameters

api_key
string

API Key, alternative to using the HTTP header X-Dune-Api-Key

Response

200
application/json
OK
success
boolean