Skip to main content
POST
Cancel a task run

Authorizations

Authorization
string
header
required

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

Path Parameters

taskRunId
string
required

The id of the task run.

Response

The cancel was accepted: a run still going reads CANCELLING until the backend confirms it CANCELLED, and a run with nothing started yet reads CANCELLED at once and never starts. Also returned for any repeat of an accepted cancel, including once the run reads CANCELLED; a repeat still pending is dispatched again