v1
latestOpenAPI 3.0.32026-07-26229361630.0 KBDoctor and clinic API
Delete Clinic
Overview
Soft-delete a clinic by Eka ID or partner-provided ID. Deleted clinics no longer appear in list or get responses.
Endpoint: {{HOST}}/cdr/v1/clinic/{clinic_id}/
Method: DELETE
Path Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| clinic_id | string | Clinic's Eka ID or partner-provided ID | Yes |
delete/cdr/v1/clinic/{clinic_id}/
Path parameters
clinic_idstring required
Example:c-ab2c-34f2d-2gwd-2g2g
Clinic's Eka ID or partner-provided ID
Headers
authstring required
Example:eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJiX2lkIjoiMTIzNDU2IiwiY2xpZW50X2lkIjoiNzg5MCIsImV4dHJhX2ZpZWxkIjoiZXh0cmFfZmllbGRfZGF0YSJ9.q9KzBI6f4l3OyM_EkB5Quq0l9EEMFh5JS-fx3F_PHUM
The auth token of the business. It is used to authenticate the client. This should be fetched from auth api.
Response
OK - Clinic deleted successfully
Example response
{
"status": "success",
"message": "Clinic Deleted Successfully"
}