Update patient
Patch-style update: only supplied fields change.
PUT
api:manage-patients
Pass external_identifiers=[] to clear all external ids; metadata={} clears metadata.
Parameters
Olira patient id.
New given name.
New family name.
New email.
New phone.
New sex/gender.
New timezone.
Replace external ids; [] clears.
Replace metadata; {} clears.
Returns
Patient
Olira patient id.
Given name.
Family name.
Sex/gender.
Timezone.
Status.
Email.
Phone.
DOB.
Created at.
External ids.
Metadata.
Raises
| Exception | When |
|---|---|
AuthError | HTTP 401 or 403 — invalid API key or insufficient OAuth scope for this endpoint. |
ValidationError | HTTP 400, 404, or 422 — malformed JSON, unknown patient, or validation failure (message includes response excerpt). |
ServerError | HTTP 409 (e.g. conflicting external identifier) or repeated 5xx after retries; includes status_code when applicable. |
RateLimitError | HTTP 429 — rate limited; check retry_after (seconds). |
NetworkError | Connection timeout, DNS failure, or read error after retries. |

