Skip to main content
POST
/
v1
/
jobs
/
runs
/
{run_id}
/
cancel
Cancel Run
curl --request POST \
  --url https://sdk.nimbleway.com/v1/jobs/runs/{run_id}/cancel \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

run_id
string
required

Cookies

token
string | null

Response

Successful Response

Result of cancelling a run.

id
string
required

Identifier of the cancelled run.

Pattern: ^run_[1-9][0-9]*$
status
enum<string>
required

Run status after cancellation.

Available options:
PENDING,
RUNNING,
SUCCESS,
FAILED,
CANCELLED,
TIMEOUT,
WARNING