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

# Update Doctor

`PATCH /cdr/v1/doctor/{doc_id}/`

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

**Endpoint:** `{{HOST}}/cdr/v1/doctor/{doc_id}/`

**Method:** `PATCH`

### Path Parameters

| Parameter | Type   | Description                          | Required |
| --------- | ------ | ------------------------------------ | -------- |
| doc_id    | string | Doctor's Eka ID                      | Yes      |

## Path parameters

- `doc_id` string, required

## Headers

- `auth` string, required

## Request body

- object
  - `firstname` string
  - `lastname` string
  - `mobile` string
  - `email` string, email
  - `gender` 'M' | 'F' | 'O'
  - `dob` string
  - `specialisations` string[]
  - `qualifications` string[]
  - `about` string
  - `profile_image_url` string, uri
  - `clinic_ids` string[] — Add these Eka clinic IDs to the doctor's existing clinic associations
  - `partner_clinic_ids` string[] — Add clinics matching these partner IDs to the doctor's existing clinic associations
  - `partner_id` string

## Response `200`

OK - Doctor updated successfully

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

## Other responses

- `400` — Bad Request - Validation failed or doc_id missing
- `404` — Doctor 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)
