Delete Work Tray
Soft-delete a work tray by marking it as inactive. Unassigns the tray from any active orders before deactivating. Lab-only operation.
Soft-delete a work tray by marking it as inactive. Unassigns the tray from any active orders before deactivating. Lab-only operation.
__Secure-guidelab-prod.session_token<token>
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Path Parameters
id*string
Response Body
application/json
curl -X DELETE "https://example.com/work-trays/550e8400-e29b-41d4-a716-446655440000"{ "tray": { "id": "string", "labId": "string", "code": "string", "color": "string", "description": "string", "isActive": true, "sortOrder": 0, "createdAt": "string", "updatedAt": "string" }, "message": "string"}Empty
Empty
Empty
Create Work Tray POST
Create a new work tray with a unique code. Lab-only operation. Returns 409 if a tray with the same code already exists.
List Work Trays GET
List work trays for the current lab with pagination, search, and optional order filtering. Includes the currently assigned order for each tray. Lab-only operation.