GuideLab API

Update Work Tray

Update an existing work tray's code, color, description, active status, or sort order. Returns 409 if the new code conflicts with an existing tray. Lab-only operation.

PUT
/work-trays/{id}

Update an existing work tray's code, color, description, active status, or sort order. Returns 409 if the new code conflicts with an existing tray. 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

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X PUT "https://example.com/work-trays/550e8400-e29b-41d4-a716-446655440000" \  -H "Content-Type: application/json" \  -d '{}'
{  "tray": {    "id": "string",    "labId": "string",    "code": "string",    "color": "string",    "description": "string",    "isActive": true,    "sortOrder": 0,    "createdAt": "string",    "updatedAt": "string"  }}
Empty
Empty
Empty
Empty
Empty