v1 (deprecated)
Cancel Execution
POST
/
public
/
v1
/
executions
/
{executionId}
/
cancel
Path
curl \
-X POST \
-u :<access-token> \
-d '{ "force": true }' \
https://api.defer.run/public/v1/executions/0ujtsYcgvSTl8PAuAdqWYSMnLOv/cancel
{
"id": "0ujtsYcgvSTl8PAuAdqWYSMnLOv"
}
Endpoint
POST https://api.defer.run/public/v1/executions/{execution-id}/cancel
Request
Path Parameters
execution-id
string
requiredThe execution ID.
Body Parameters
force
boolean
Force the cancellation even if the execution is in running state.
Response
Body
id
string
requiredThe ID of the execution.
Was this page helpful?
curl \
-X POST \
-u :<access-token> \
-d '{ "force": true }' \
https://api.defer.run/public/v1/executions/0ujtsYcgvSTl8PAuAdqWYSMnLOv/cancel
{
"id": "0ujtsYcgvSTl8PAuAdqWYSMnLOv"
}