v2
Cancel execution
POST
/
executions
/
{execution-id}
/
cancellation
Authorization
Path
Body
curl --request POST \
--url https://api.defer.run/public/v2/executions/{execution-id}/cancellation \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"force": true
}'
{}
Authorizations
Authorization
string
headerrequiredBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
execution-id
string
requiredThe execution ID
Body
application/json
force
boolean
When set to true it will abort running execution
Response
102 - application/json
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.defer.run/public/v2/executions/{execution-id}/cancellation \
--header 'Authorization: <authorization>' \
--header 'Content-Type: application/json' \
--data '{
"force": true
}'
{}