Skip to main content
DELETE
Cancel Work Order

Cancel Work Order

Cancels a work order that is currently queued or running. This endpoint supports graceful cancellation of active work orders.
Cancellation is irreversible. A canceled work order cannot be resumed.

Request

id
string
required
The work order ID to cancel (e.g., wo_abc123)

Response

success
boolean
required
Indicates if the request was successful
data
object
required
Cancellation result

Example Response

Successful Cancellation

Queued Work Order Cancellation

Error Responses

Work Order Not Found

Already Completed

Returns 409 Conflict if the work order is already in a terminal state.

Behavior

For running work orders, the agent process is given time to clean up before the work order is marked as canceled. Use the Force Kill endpoint if you need immediate termination.