CancelWorkOrderRequest
| Field | Type | Description |
|---|---|---|
id | string | Identifies the work order to cancel. Must be visible to the API key actor. |
Required scope: work_order:cancel
Transition a work order to the cancelled state. The API key creator must have current access to its customer. Cancelling a work order that is already cancelled or completed returns its current state without repeating any side effects.
POST /public-api/publicapi.v1.WorkOrder/CancelWorkOrder Marks a work order cancelled. Terminal and not idempotent; cancelling an already-terminal work order returns it unchanged without re-emitting.
| Field | Type | Description |
|---|---|---|
id | string | Identifies the work order to cancel. Must be visible to the API key actor. |
| Field | Type | Description |
|---|---|---|
work_order | WorkOrder | The work order after cancellation. |
{ "id": "<work-order-id>"}{ "workOrder": { "id": "<work-order-id>", "title": "Install replacement inverter", "status": "cancelled" }}This is not idempotent; do not blindly retry a timed-out call.