Delete Waitlist Request¶
Delete a patient waitlist request by ID. The request is removed and any pending invites associated with it are closed.
Endpoint¶
Path Parameters¶
| Parameter | Type | Required | Description |
|---|---|---|---|
id |
string (uuid) | Yes | Unique identifier of the waitlist request to delete. |
Request¶
curl --location --request DELETE '{base_url}/apis/v1/waitlist-requests/req-123' \
--header 'Authorization: Bearer JWT_TOKEN'
Response¶
Success Response¶
Code: 204 No Content
No response body is returned on success.
Error Response¶
Code: 404 Not Found
Code: 409 Conflict
Notes¶
- Deletion is rejected with
409 Conflictif the request has active invites inPENDING,SENT, orREADstate. Cancel or let those invites expire first, or use Update Waitlist Request to setstatus: "CANCELLED"instead. - To soft-cancel and preserve the request for audit, prefer
PATCHwithstatus: "CANCELLED"rather thanDELETE.