Update a User
Update user properties using JSON Patch
PATCH
PATCH /v1/users/{id}
Update a User
Update a user’s properties using JSON Merge Patch. You can update by ID or by fully qualified name.Update by ID
Update by Name
UsePATCH /v1/users/name/{fqn} to update by fully qualified name.
Body Parameters
Send a JSON object with the fields to update. Only provided fields are changed.PATCH /v1/users/{id}
Returns
Returns the updated user object with the new version number.Response
Changing Domains
Only administrators can change a user’sdomains, through PATCH on /domains, a root-level patch, or PUT. Other callers, including bots, get 403.
- Re-sending: Sending the domains the user already holds, or none, still works for any caller with edit access.
- Inherited domains: Domains a user inherits from a team do not count as held. A non-admin cannot send them back.
- Other self-edits: Users can still update their own other fields, including
defaultDomain.