Update a user

Update some or all details for an existing user. Only the fields provided are changed.

Path Params
string
required

The user's ID (guid) (e.g., b48737b7-62ac-421b-9c12-3c1014dd07b7)

Body Params

Partial user update. If both startDate and leaveDate are provided, startDate must be earlier than leaveDate.

string
length ≤ 100
^\S+$
string
length ≤ 50
string
length ≤ 50
string
date

Date of birth in YYYY-MM-DD format

string | null
string | null
string
string
string
string
string
string
string
string
string
roles
object
string
string
string
string
string
boolean
date | null

Start date of employment in YYYY-MM-DD format

date | null

End date of employment in YYYY-MM-DD format

boolean
boolean
boolean
uuid | null

The ID of the brand to assign to the user. Set to null to revert to the system default.

uuid | null

The ID of the primary job profile to assign to the user. Set to null to clear the user's primary job profile.

uuid | null

The ID of the group to set as the user's primary group. Set to null to clear the primary group.

additionalJobProfileIds
array of uuids | null

The IDs of the user's job profiles other than the primary. Omit to leave the user's existing additional job profiles unchanged. Set to null or to an empty array to remove them all. When populated, replaces the collection entirely - any job profile not listed is unassigned. No ID may refer to the user's primary job profile, and no ID may appear more than once.

additionalJobProfileIds
userInformationFields
object
Responses
204

User patched successfully

Language
Credentials
Bearer
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/problem+json