Skip to main content
POST
/
workflows
/
executions
/
{id}
/
cancel
Cancel an in-flight workflow execution
curl --request POST \
  --url https://api.artu.ai/workflows/executions/{id}/cancel \
  --header 'Authorization: Bearer <token>' \
  --header 'X-Environment: <api-key>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "status": "<unknown>"
}

Authorizations

Authorization
string
header
required

API key authentication. Obtain your API key from the dashboard.

X-Environment
string
header
required

Target environment for the request. Must be "test" or "live".

Path Parameters

id
string<uuid>
required

Response

200 - application/json

OK

id
string<uuid>
required
status
any
required