GuideLab API

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.

DELETE
/work-trays/{id}

Soft-delete a work tray by marking it as inactive. Unassigns the tray from any active orders before deactivating. Lab-only operation.

Authorization

__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