DELETE /force-delete-work-order/
Force Delete Work Order Data
DELETE
/force-delete-work-order/{work_order_key}
Permanently delete a work order and all related traceability data.
Cascades through Job, Batch, StepExecutionData, WorkSession, Event,
batch_serial, contains, wip and issue_rel records linked to the given
work order key. Removes the work order from the site Queue. This is a
hard delete — no audit trail is preserved. Use only when a work order
was created in error.
Emits: (direct transaction — no event class)
Required scope: admin:operation:force-delete-work-order
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
work_order_key*
Type
Requiredstring
Responses
Successful Response
application/json
JSON "status": 200, "message": "string", "detail": "string"
{
}