Skip to main content
POST
Cancel task
Requests cancellation of the task’s in-flight jobs. For local work, the runner must confirm its process has stopped. You can still follow up afterwards to resume work on the same thread.

Authorizations

Authorization
string
header
required

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

Path Parameters

taskIdOrSlug
string
required

Response

Task cancelled

success
boolean
required
task
object
required