Users
Get user groups
Returns the groups to which a user belongs.
Permissions required: Browse users and groups global permission.
get/rest/api/2/user/groups
Request
- Base URL: https://your-domain.atlassian.net
- URL: https://your-domain.atlassian.net/rest/api/2/user/groups
- Auth: one of:
- HTTP basic
- OAuth 2 (authorization code, authorization URL https://auth.atlassian.com/authorize, token URL https://auth.atlassian.com/oauth/token, scopes: read:jira-user)
- none
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.
Changes
No recorded changes to this operation across all 26 revisions of this API.