Skip to content

DELETE /work-order/ ​

Delete Work Order​

DELETE
/work-order/{wo_key}

Delete a work order and its associated jobs from the system.

Only work orders in created or planned status may be deleted. Removes
the work order document, all child Job records, queue entries (site and
operator), and any issue relationship edges in a single transaction.

Emits: (direct transaction — no event class)
Required scope: production:work-order:delete

Authorizations​

OAuth2PasswordBearer
password Flow
Token URL"/api/auth"
Scopes:
  • "admin"User can access and edit users and system settings
  • "library"User can access and edit products
  • "production"User can access and edit production plans
  • "operator"User can access the operator panel and make production declarations

Parameters​

Path Parameters

wo_key*
Type
string
Required

Responses​

Successful Response

application/json
JSON
{
  
"status": 200,
  
"message": "string",
  
"detail": "string"
}

Samples​

Powered by VitePress OpenAPI

Released under the Apache 2.0 License.