Change what your account records about a person

Needs permission user:write.

A JSON Merge Patch: leave a field out to keep it, send null to clear it. Answers the person as they now stand, in GET /users/{principalId}'s shape.

externalId is your own identifier for them, such as their id in your HR system, and the same value SCIM provisioning reads and writes, so changing it here changes it there. 1 to 256 characters, case-sensitive, no spaces at either end (400 invalid_external_id).

An identity provider finds, updates and removes people by it, so this route's user:write must be held across your whole account, not only in some organisations (403 insufficient_permissions, missingPermission: user:write), and, where your account gives roles, the person must not be able to do anything you cannot (403 holder_outranks_you). An API token is judged the same way: one with the hr-integration role across the account may change it. 409 external_id_taken when somebody else in your account has it, and concurrent_change when it was changed while this request ran (read it again and retry). Works on your guests too. 404 when the person is neither one of your people nor your guest.

Their name and sign-in address belong to their sign-in account, and their access to the access routes; neither changes here.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params

A JSON Merge Patch (RFC 7396) of a person in your account: leave a field out to keep it, send null to clear it.
Their name and sign-in address belong to their sign-in account and their access to the access routes, so neither
changes here.

string | null

Your own identifier for this person or guest: 1 to 256 characters, case-sensitive, unique among your people and guests, and the same
value SCIM provisioning reads and writes. null clears it.

Headers
string
enum
Defaults to application/merge-patch+json

Generated from available request content types

Allowed:
Responses

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