OptionalaccountIds?: string[]Filter by account IDs of group members.
Optionalcursor?: stringSets the starting point for the page of results to return.
Unique ID associated with a directory. The - character can be used to increase the operation scope to all
directories the requestor has permission to manage.
OptionaldirectoryIds?: string[]Filter by directory IDs.
Optionalexpand?: (string & {} | "counts.resources" | "counts.users")[]List of additional fields to include in the response. Available values:
counts.resources — the number of resources the group has access to.counts.users — the number of users in the group.OptionalgroupIds?: string[]Filter by group IDs.
Mutually exclusive with groupNames — providing both returns a 400 Bad Request error.
OptionalgroupNames?: string[]List of full group names to filter by (case-insensitive). Only exact matches are returned.
Mutually exclusive with searchTerm and groupIds — providing either combination returns a 400 Bad Request
error.
Optionallimit?: numberThe number of results to return per page. Defaults to 20.
Your organization has a unique ID. Find this ID in your Atlassian Administration URL or when you create your API key.
OptionalresourceIds?: string[]Filter by resource IDs.
OptionalresourceOwners?: string[]Filter by resource type keys.
OptionalroleIds?: string[]Filter by canonical Atlassian role IDs.
OptionalsearchTerm?: stringFree-text search term. Matched against the group name.
Mutually exclusive with groupNames — providing both returns a 400 Bad Request error.
OptionalsortBy?: {List of sort fields. Currently only a single sort field is supported.
Optionaloptions: RequestOptions
Return a page of groups in an organization that match the supplied parameters.
Use
searchTermfor free-text search across group names. Filter by IDs, role assignments, resources, members, or specific group identifiers using the corresponding request fields. Use theexpandfield to include additional fields such ascounts.resourcesandcounts.usersin the response.