curl -X POST -H x-dune-api-key:{{api_key}} "https://api.dune.com/api/v1/execution/{{execution_id}}/cancel"
Copy
Ask AI
{ "success": true}
Executions and Results
Cancel Execution
Cancel a triggered execution request given the execution ID
POST
/
v1
/
execution
/
{execution_id}
/
cancel
Copy
Ask AI
curl -X POST -H x-dune-api-key:{{api_key}} "https://api.dune.com/api/v1/execution/{{execution_id}}/cancel"
Copy
Ask AI
{ "success": true}
You must pass the execution_id obtained from making an execute query POST request.The result returns a boolean for whether the execution is successfully canceled.
Copy
Ask AI
curl -X POST -H x-dune-api-key:{{api_key}} "https://api.dune.com/api/v1/execution/{{execution_id}}/cancel"