---
title: "Update Clinic"
method: PATCH
path: "/cdr/v1/clinic/{clinic_id}/"
tags: ["Doctor and clinic API"]
---

# Update Clinic

`PATCH /cdr/v1/clinic/{clinic_id}/`

### Overview
Update an existing clinic. Only the fields included in the request body will be updated; all fields are optional.

**Endpoint:** `{{HOST}}/cdr/v1/clinic/{clinic_id}/`

**Method:** `PATCH`

### Path Parameters

| Parameter | Type   | Description       | Required |
| --------- | ------ | ----------------- | -------- |
| clinic_id | string | Clinic's Eka ID   | Yes      |

## Path parameters

- `clinic_id` string, required

## Headers

- `auth` string, required

## Request body

- object
  - `name` string
  - `address` string
  - `partner_id` string
  - `pincode` string
  - `contact` string
  - `doctor_ids` string[] — Add these Eka doctor IDs to the clinic's existing doctor associations
  - `partner_doctor_ids` string[] — Add doctors matching these partner IDs to the clinic's existing doctor associations
  - `city` string
  - `state` string

## Response `200`

OK - Clinic updated successfully

- object
  - `status` string
  - `ekaid` string

## Other responses

- `400` — Bad Request - Validation failed or clinic_id missing
- `404` — Clinic not found

---

[API](https://skmtc.net/eka/apis/eka-developer-apis.md) · [All operations](https://skmtc.net/eka/apis/eka-developer-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/eka/eka-developer-apis/revisions/9ea23456f722/schema)
