Skip to Content
Clerk logo

Clerk Docs

Ctrl + K
Go to clerkstage.dev

getOrganizationMembershipList()

Retrieves organization membership list:

const memberships = await clerkClient.organizations.getOrganizationMembershipList();

GetOrganizationMembershipListParams

NameTypeDescription
organizationIdstringThe ID of the organization to retrieve.
limit?numberThe number of results to return.
offset?numberThe 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,
});

Was this helpful?

Clerk © 2023