v4

latestOpenAPI 3.0.1Apache 2.02026-08-016169702.3 MB
Users

Get user groups

Returns the groups to which a user belongs.

Permissions required: Browse users and groups global permission.

get/rest/api/3/user/groups

Query parameters

accountIdstring required
Example:5b10ac8d82e05b22cc7d4ef5

The account ID of the user, which uniquely identifies the user across all Atlassian products. For example, 5b10ac8d82e05b22cc7d4ef5.

usernamestring

This parameter is no longer available. See the deprecation notice for details.

keystring

This parameter is no longer available. See the deprecation notice for details.

Response

Returned if the request is successful.

groupIdstring nullable

The ID of the group, which uniquely identifies the group across all Atlassian products. For example, 952d12c3-5b5b-4d04-bb32-44d383afc4b2.

namestring

The name of group.

selfstring uri

The URL for these group details.