getOrganizationMembershipList()
Retrieves organization membership list:
const memberships = await clerkClient.organizations.getOrganizationMembershipList();
GetOrganizationMembershipListParams
Name | Type | Description |
---|---|---|
organizationId | string | The ID of the organization to retrieve. |
limit? | number | The number of results to return. |
offset? | number | The number of results to skip. |
Examples
getOrganizationMembershipList({ limit })
Retrieves orgnanization membership list that is filtered by the number of results:
const memberships = await clerkClient.organizations.getOrganizationMembershipList({
// returns the first 10 memberships
limit: 10,
});