Skip to main content
PUT
/
patients
/
{id}
cURL
curl --request PUT \
  --url https://api.iolokis.com/patients/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "first_name": "<string>",
  "last_name": "<string>",
  "age": 123,
  "gender": "<string>",
  "dirPath": [
    "<string>"
  ],
  "phone_number": "<string>",
  "workspace_id": 123
}
'
{
  "patientId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string<uuid>
required

Patient ID to update. This is the unique ID of the patient.

Body

application/json

All fields are optional. Feel free to include only the fields you want to update.

first_name
string
last_name
string
age
integer
gender
string
dirPath
string[]
phone_number
string
workspace_id
integer

Response

Patient updated.

patientId
string<uuid>
required
message
string
required

Patient updated successfully.