Skip to main content
POST
/
v1
/
runs
/
{run_id}
:cancel
Cancel a run
curl --request POST \
  --url https://api.usezombie.com/v1/runs/{run_id}:cancel \
  --header 'Authorization: Bearer <token>'
{
  "run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "state": "<string>",
  "request_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}

Authorizations

Authorization
string
header
required

Obtain a token via the CLI auth flow (POST /v1/auth/sessions) or GitHub OAuth

Path Parameters

run_id
string<uuid>
required

Run identifier

Response

Run cancelled

run_id
string<uuid>
required
state
string
required
Allowed value: "CANCELLED"
request_id
string<uuid>
required