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
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

execution-id
string
required

The 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.