E136: Remove item from work order
DELETE /api/work-order-items/:id
Removes an output line. Its BOM-input snapshot cascade-deletes (L1 FK), and the line's active ledger events are reversed first so nothing strands.
Authentication
Standard tenant route. Requires Authorization: Bearer <firebase-id-token> and X-Org-Id: <org-id>. Access: Member.
Response — 200 OK
{ "deletedId": "uuid" }
Errors
| HTTP | code | Condition |
|---|---|---|
| 404 | not_found | No such WO item. |
| 409 | conflict | A receipt exists against the WO — items are locked. |