Skip to content

organizationMemberships

Fetch paginated organization memberships collection

Arguments

id · String · ID of the organization to load memberships for
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

OrganizationMembershipPaginationConnection

Example

query organizationMemberships(
$id: String
$sort_by: String
$order_by: OrganizationMembershipOrderKeys
$user_ids: [ID]
$after: String
$before: String
$first: Int
$last: Int
) {
organizationMemberships(
id: $id
sort_by: $sort_by
order_by: $order_by
user_ids: $user_ids
after: $after
before: $before
first: $first
last: $last
) {
edges
nodes
page_info
total_count
}
}