v1
latestOpenAPI 3.0.32026-07-26229361630.0 KBDoctor and clinic API
Delete Doctor
Overview
Soft-delete a doctor by their Eka ID or partner-provided ID. Once deleted, the doctor will no longer appear in list or get responses.
Endpoint: {{HOST}}/cdr/v1/doctor/{doc_id}/
Method: DELETE
Path Parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| doc_id | string | Doctor's Eka ID or partner-provided ID | Yes |
delete/cdr/v1/doctor/{doc_id}/
Path parameters
doc_idstring required
Example:do1769174683513
Doctor'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 - Doctor deleted successfully
Example response
{
"status": "success",
"message": "Doctor Deleted Successfully"
}