Skip to main content
DELETE
/
cdr
/
v1
/
clinic
/
{clinic_id}
Delete Clinic
curl --request DELETE \
  --url https://api.eka.care/cdr/v1/clinic/{clinic_id}/ \
  --header 'auth: <auth>'
{
  "status": "success",
  "message": "Clinic Deleted Successfully"
}

Headers

auth
string
required

The auth token of the business. It is used to authenticate the client. This should be fetched from auth api.

Example:

"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJiX2lkIjoiMTIzNDU2IiwiY2xpZW50X2lkIjoiNzg5MCIsImV4dHJhX2ZpZWxkIjoiZXh0cmFfZmllbGRfZGF0YSJ9.q9KzBI6f4l3OyM_EkB5Quq0l9EEMFh5JS-fx3F_PHUM"

Path Parameters

clinic_id
string
required

Clinic's Eka ID or partner-provided ID

Example:

"c-ab2c-34f2d-2gwd-2g2g"

Response

OK - Clinic deleted successfully

status
string
Example:

"success"

message
string
Example:

"Clinic Deleted Successfully"