PATCH
/
profiles
/
v1
/
patient
/
{oid}
Update patient profile details
curl --request PATCH \
  --url https://api.eka.care/profiles/v1/patient/{oid} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'client-id: <client-id>' \
  --data '{
  "dob": "2000-01-02",
  "gen": "M",
  "mobile": "+916000000000",
  "fn": "eka",
  "mn": "eka",
  "ln": "user",
  "fln": "eka user",
  "bloodgroup": "A+",
  "s": "Dr",
  "email": "testuser@eka.care",
  "abha": "xyz@abdm",
  "username": "UH0001",
  "extras": {
    "dummyKey": "Dummy Value"
  }
}'
{
  "message": "Profile updated successfully"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

client-id
string
required
Example:

"EC_1431"

Path Parameters

oid
string
required
Example:

18661861868168

Body

application/json

Response

200
application/json

Update Patient profile

The response is of type object.