GuideLab API

Delete a treatment phase

Permanently delete a treatment phase and its task list. Fails if the phase is referenced by any products or order phases.

DELETE
/treatment-phases/{id}

Permanently delete a treatment phase and its task list. Fails if the phase is referenced by any products or order phases.

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

Treatment phase ID

Response Body

application/json

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