Users

Get group memberships for user

Returns the groups that a user is a member of.

Permissions required: Permission to access the Confluence site ('Can use' global permission).

get/wiki/rest/api/user/memberof

Request

  • Base URL
    https://your-domain.atlassian.net
  • URL
    https://your-domain.atlassian.net/wiki/rest/api/user/memberof
  • Auth
    • HTTP basic
    • or OAuth 2
      Authorization code: https://auth.atlassian.com/authorize
      Token URL: https://auth.atlassian.com/oauth/token scopes: read:confluence-user

Query parameters

accountIdstring required

The account ID of the user. The accountId uniquely identifies the user across all Atlassian products. For example, 384093:32b4d9w0-f6a5-3535-11a3-9c8c88d10192.

startinteger

The starting index of the returned groups.

limitinteger

The maximum number of groups to return per page. Note, this may be restricted by fixed system limits.

Response

Returned if the requested groups are returned.

startinteger required
limitinteger required
sizeinteger required
totalSizeinteger

This property will return total count of the objects before pagination is applied. This value is returned if shouldReturnTotalSize is set to true.

_linksGenericLinks required

Changes

No recorded changes to this operation across all 2 revisions of this API.