Users
Returns all users
Creates a new user.
Sets the unique name of the new user. It must be a valid HQ resource name: it can only contain lowercase alphanumeric characters or hyphens; hyphens cannot appear at the end or start; the length is 63 characters at most.
Sets the display name of the new user. If not provided, the value of "name" will be used.
Allows attaching custom string key/values to resources. The following maxima apply:
- 50 keys/values;
- 40 bytes key length;
- 500 bytes value length.
Returns a specific user
Updates a user.
Updates the display name of the user.
Patches metadata. It has the following semantics:
- Absent keys are left untouched;
- Null values are deleted;
- Non-null values are replaced.
Deletes a user.
No body
Allows updating fields of the user profile.
Contains the users' full name, e.g. Mary Jane Doe.
Contains the users' email address, e.g. mary.jane@doe.net. Note that this is not necessarily the same as the user's name, which often looks like an email address, but is not per se.
Assigns the given user exactly to the provided groups, ensuring they are not part of any other groups.
The name of the user.
Adds the user or service account to the groups (specified by their names).
Removes the user or service account from the groups (specified by their names). If a group is specified in both add_to_groups as well in here, removal wins.
Sets the user or service account memberships to those groups (specified by their names) in an absolute fashion (ensures user/sa will be exactly a member of those), if provided. Cannot be combined with the add_to_groups or remove_from_groups.
Returns the currently authenticated user
Starts a session given a username/password and puts it into a cookie.
No body
Deletes all sessions associated with the current user.
No body
Last updated
Was this helpful?