getInstanceOrganizationMembershipList()
Gets the list of Organization memberships for the instance. By default, the list is returned in descending order by creation date (newest first).
Returns a PaginatedResourceResponse object with a data property containing an array of OrganizationMembership objects and a totalCount property containing the total number of Organization memberships for the instance.
function getInstanceOrganizationMembershipList(params: GetInstanceOrganizationMembershipListParams): Promise<PaginatedResourceResponse<OrganizationMembership[]>>- Name
orderBy?- Type
WithSign<"phone_number" | "email_address" | "created_at" | "first_name" | "last_name" | "username">- Description
Filters Organization memberships in a particular order. Prefix a value with
+to sort in ascending order, or-to sort in descending order. Defaults to-created_at.
const response = await clerkClient.organizations.getInstanceOrganizationMembershipList()Backend API (BAPI) endpoint
This method in the SDK is a wrapper around the BAPI endpoint GET/organization_memberships. See the BAPI reference for more information.
Feedback
Last updated on