User Management Endpoints
Update user
Updates a user in Parchment
PUT
Integration Notes
- No role updates:
access_roles,emailattributes will be ignored. - Partial Updates: Only include fields you want to update. Omitted fields will not be modified.
- Provider Updates: Use the
provider_detailsobject for provider-specific fields to ensure proper validation. This applies to users with theproviderorrx_queue_managerrole — both roles carry a provider record (HPI-I, date of birth, sex, etc.) that is maintained throughprovider_details. - Validation Dependencies: Be aware of field dependencies, especially for provider details.
- User Existence: The API will return 404 if the user doesn’t exist in the organization.
- Request ID: Always log the
requestIdfor debugging support requests.
Request
Update Basic User Information
Update Provider Details
Update Both User and Provider Information
User Fields
Provider Details
When updating provider-specific information, use theprovider_details object:
Validation Rules
- Prescriber Number: Must be 10 characters or less
- Provider Number: Must be 10 characters or less
- Provider Details Dependencies:
- If
prescriber_typeis provided,qualificationsmust also be provided - If
prescriber_typeis not ‘T’ (podiatrist),prescriber_numberis required
- If
- Date Format: Date of birth must be in YYYY-MM-DD format
- Sex Values: Must be one of: M (Male), F (Female), I (Indeterminate), N (Not-stated)
Prescriber Types
Valid values forprescriber_type:
M(Medical Practitioner)E(Eye/Optometrist)U(Nurse)F(Midwife)D(Dentist)V(Veterinarian)T(Podiatrist)C(Pharmacist)
Response
Success Response (200 OK)
Validation Error (422 Unprocessable Entity)
User Not Found (404 Not Found)
Unauthorized (401)
Insufficient Permissions (403 Forbidden)
Rate Limited (429 Too Many Requests)
Response Fields
Success Response Data
Common Response Fields
All responses include these standard fields:Status Codes
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Organization secret for authentication - provided by Parchment
Path Parameters
Organization ID
User ID
Body
application/json
User data to update in Parchment
The body is of type any.
Response
User updated successfully

