Get group memberships for user
GET {{baseUrl}}/api/user/memberof?key=<string>&username=<string>&accountId=<string>&start=0&limit=200
Returns the groups that a user is a member of.
Permissions required: Permission to access the Confluence site ('Can use' global permission).
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
key | string | This parameter is no longer available and will be removed from the documentation soon. | |
Use accountId instead. | |||
See the deprecation notice for details. | |||
username | string | This parameter is no longer available and will be removed from the documentation soon. | |
Use accountId instead. | |||
See the deprecation notice for details. | |||
accountId | string | (Required) The account ID of the user, which uniquely identifies the user across all Atlassian products. | |
For example, 384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192 . | |||
start | number | The starting index of the returned groups. | |
limit | number | The maximum number of groups to return per page. | |
Note, this may be restricted by fixed system limits. |
RESPONSES
status: OK
{"results":[{"type":"group","name":"consequat amet ","id":"Ut","_links":{}},{"type":"group","name":"qui eu","id":"consequat quis occaecat proident voluptate","_links":{}}],"start":-67251213,"limit":46114380,"size":-50386405}