Skip to content

organizationGroups

Paginated list of sub-organization groups for a parent organization

Arguments

organization_id · ID! · required · ID of the organization whose groups are returned
keywords · String · For search of the group name.
order_by · OrganizationGroupOrderKeys · Sort order for the returned groups.
after · String · Returns the elements in the list that come after the specified cursor.
before · String · Returns the elements in the list that come before the specified cursor.
first · Int · Returns the first _n_ elements from the list.
last · Int · Returns the last _n_ elements from the list.

Returns

OrganizationGroupPaginationConnection

Example

query organizationGroups(
$organization_id: ID!
$keywords: String
$order_by: OrganizationGroupOrderKeys
$after: String
$before: String
$first: Int
$last: Int
) {
organizationGroups(
organization_id: $organization_id
keywords: $keywords
order_by: $order_by
after: $after
before: $before
first: $first
last: $last
) {
edges
nodes
page_info
total_count
}
}