GuideLab API

Delete draft order

Permanently deletes a draft order and archives its clinical file records for durable retention cleanup. R2 objects remain tracked until the retention worker confirms deletion.

DELETE
/orders/drafts/{id}

Permanently deletes a draft order and archives its clinical file records for durable retention cleanup. R2 objects remain tracked until the retention worker confirms deletion.

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

Draft order ID

Response Body

application/json

curl -X DELETE "https://example.com/orders/drafts/550e8400-e29b-41d4-a716-446655440000"
{  "success": true}
Empty
Empty
Empty
Empty