Update a user's mutable fields (privileged)
PATCH/v1/users/:id
Partially updates a user's display name, preferred language, system-admin flag, or status; only the fields you supply are changed and the rest are left intact. Requires the super_user role. Demoting the last remaining system admin is rejected with 409. The write is optimistically locked, so a concurrent modification returns 409.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 409
The updated user
An invalid status value
Missing or invalid API key
Updating a user requires the super_user role
User not found
Version conflict, or demoting the last system admin