Updates a user in Parchment
access_roles, email attributes will be ignored.provider_details object for provider-specific fields to ensure proper validation.requestId for debugging support requests.| Field | Type | Required | Description |
|---|---|---|---|
full_name | string | No | User’s given name |
provider_details object:
| Field | Type | Required When | Description |
|---|---|---|---|
given_name | string | No | Prescriber’s given name |
family_name | string | No | Prescriber’s family name |
date_of_birth | string | No | Date of birth in YYYY-MM-DD format |
sex | string | No | Sex (M/F/I/N) |
hpii_number | string | No | Healthcare Provider Identifier |
phone | string | No | Provider phone number |
title | string | No | Professional title |
prescriber_number | string | When prescriber_type is not ‘T’ (podiatrist) | 7-character prescriber number |
provider_number | string | No | 9-character provider number |
prescriber_type | string | No | Prescriber type (M/N/D/P/T) |
ahpra_number | string | No | AHPRA registration number |
qualifications | string | When prescriber_type is provided | Professional qualifications |
hospital_provider_number | string | No | Hospital provider number |
erx_entity_id | string | No | ERX Entity ID provided by ERX |
prescriber_type is provided, qualifications must also be providedprescriber_type is not ‘T’ (podiatrist), prescriber_number is requiredprescriber_type:
M (Medical Practitioner)E (Eye/Optometrist)U (Nurse)F (Midwife)D (Dentist)V (Veterinarian)T (Podiatrist)C (Pharmacist)| Field | Type | Description |
|---|---|---|
user_id | string | Parchment’s unique user identifier |
| Field | Type | Description |
|---|---|---|
success | boolean | Indicates if the request was successful |
statusCode | number | HTTP status code |
timestamp | string | ISO 8601 timestamp of the response |
requestId | string | Unique identifier for debugging |
| Code | Status | Description |
|---|---|---|
200 | OK | User successfully updated |
400 | Bad Request | Invalid request format or invalid parameters |
401 | Unauthorized | Authentication required or token invalid |
403 | Forbidden | Insufficient permissions (missing update:user scope) |
404 | Not Found | User not found |
409 | Conflict | Update conflict (e.g., duplicate values) |
422 | Unprocessable Entity | Request validation failed |
429 | Too Many Requests | Rate limit exceeded |
500 | Internal Server Error | Unexpected server error |
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Organization secret for authentication - provided by Parchment
Organization ID
User ID
User data to update in Parchment
The body is of type unknown.
User updated successfully