getOrganizationMembershipList()
Retrieves a list of memberships for an organization.
- Name
organizationId
- Type
string
- Description
The ID of the organization to retrieve the list of memberships from.
- Name
limit?
- Type
number
- Description
The number of results to return. Must be an integer greater than zero and less than 501.
- Name
offset?
- Type
number
- Description
The number of results to skip.
getOrganizationMembershipList()
examples
getOrganizationMembershipList({ organizationId })
In this example, you can see that the returned PaginatedResourceResponse
includes data
, which is an array of OrganizationMembership
objects, and totalCount
, which indicates the total number of organization memberships in the system for the specified organization.
getOrganizationMembershipList({ organizationId, limit })
Retrieves organization membership list that is filtered by the number of results.
getOrganizationMembershipList({ organizationId, offset })
Retrieves organizaiton membership list that is filtered by the number of results to skip.
Backend API (BAPI) endpoint
This method in the SDK is a wrapper around the BAPI endpoint GET/organizations/{organization_id}/memberships
. See the BAPI reference for more details.