Nested Groups
The subgroups of the user group.
Resource | /api/groups/{groupID}/subGroups |
|---|---|
Returned entity | NestedGroup. For the description of the entity attributes, see Supported Fields section. |
Supported methods |
NestedGroup attributes
Represents a user group in YouTrack that either has a parent or subgroups.
Extends UserGroup
Attributes
This table describes attributes of the NestedGroup entity.
To receive an attribute in the response from the server, specify it explicitly in the
fieldsrequest parameter.To update an attribute, provide it in the body of a POST request.
Field | Type | Description |
|---|---|---|
id | String | The database ID of the group. |
parentGroup | The parent group of the user group. | |
subGroups | The subgroups of the user group. | |
ownUsers | The users added to the user group directly. | |
requireTwoFactorAuthentication | Boolean | True if the group requires two-factor authentication from its members. Otherwise, false. |
viewers | The users and groups added to the "Visible to" setting for the user group. | |
updaters | The users and groups added to the "Updatable by" setting for the user group. | |
autoJoin | Boolean | True if users automatically join the group at first login. Otherwise, false. |
autoJoinDomain | String | Users from this domain automatically join the group at first login. |
name | String | The name of the group. |
ringId | String | ID of the group in Hub. Use this ID for operations in Hub, and for matching groups between YouTrack and Hub. |
usersCount | Long | The number of users in the group. |
icon | String | The URL of the group logo. |
allUsersGroup | Boolean | True if this group contains all users, otherwise false. |
users | All users in this group, including transitive users. |
Read a List of NestedGroups
Read the list of subgroups of the specific group.
Required permissions
Requires access to the "Read Groups" feature, Update Project permission, or Low-Level Admin Read permission.
Request syntax
null | The database ID of NestedGroup |
|---|
Request parameters
Parameter | Type | Description |
|---|---|---|
fields | String | A list of NestedGroup attributes that should be returned in the response. If no field is specified, only the |
$skip | Int | Optional. Lets you set a number of returned entities to skip before returning the first one. |
$top | Int | Optional. Lets you specify the maximum number of entries that are returned in the response. If you don't set the $top value, the server limits the maximum number of returned entries. The server returns a maximum of 42 entries for most resources that return collections. For more information, see Pagination. |