UserService
PATCH /api/users/{user}
Changed onUpdateUser updates a user. Users may update themselves; admins may update anyone. Changing the password ends the user's other sessions.
Request
- The document declares no server URL.
- Authnone declared
Path parameters
userstring required
The user id.
Query parameters
updateMaskstring field-mask
Required. The fields to update. Supported paths: username, display_name, email, avatar_url, description, password, role, state. role and state require an admin.
allowMissingboolean
Optional. Currently ignored; updating a missing user fails with NOT_FOUND.
Request body
Response
OK
Changes
- info
endpoint added
- info