This resource provides access to users in Hub and YouTrack.
<Hub Service URL>/api/rest/users
Represents a user in Hub and YouTrack.
This table describes attributes of the
To receive an attribute in the response from the server, specify it explicitly in the
To update an attribute, provide it in the body of a POST request.
The unique identifier of the user.
The set of IDs of user accounts that have been merged into this account.
The avatar of the user.
This flag indicates whether the user account is banned.
The timestamp when the user account was created.
A set of login credentials associated with the account. These credentials point to various built-in and federated authentication modules.
The list of groups where the user belongs.
This flag indicates whether the user account is the guest account.
The timestamp when the user account last logged in to the system.
The list of licenses that the user has.
The login of the user.
The full name of the user.
The list of permanent tokens of the user.
The user profile details, such as email, locale preferences, and custom user attributes.
The set of favourite projects of the user.
The set of project roles that this user has been granted directly.
The list of project teams where the user belongs.
The type of the entity. In this case, it's
The type of the user account.
The list of VCS usernames of the user.
Read a List of Users
Get all users that match the specified query.
Optional. Returns only the specified subset of the fields for each user. Use Fields Syntax to define the subset.
Optional. Lets you set a number of returned entities to skip before returning the first one.
Optional. Lets you specify the maximum number of Users that are returned in the response.
Optional. Lets you specify a search query to filter the returned results. See Query Syntax for the definition of supported logical operations syntax. For the User fields and tuples, see Hub REST API Reference.
Optional Returns the list of Users sorted by a specified field. See Sorting Syntax for details. Users support ordering by the following fields:
Add a New User
Create a user.
A list of User attributes that should be returned in the response. If no field is specified, only the
In this example, we create a standard user account with the login