getOrganizationInvitationList()
Retrieves a list of organization invitations.
- Name
organizationId
- Type
string
- Description
The ID of the organization to retrieve the list of pending invitations from.
- Name
limit?
- Type
number
- Description
The number of results to return. Must be an integer greater than zero and less than 501. Can be used for paginating the results together with
offset
. Defaults to10
.
- Name
offset?
- Type
number
- Description
Skip the first
offset
results when paginating. Needs to be an integer greater or equal to zero. To be used in conjunction withlimit
. Defaults to0
.
- Name
status?
- Type
string[]
- Description
The status of the invitation. Possible values:
pending
,accepted
,revoked
,expired
. Defaults topending
.
Examples
Basic
In the following example, you can see that the returned PaginatedResourceResponse
includes data
, which is an array of OrganizationInvitation
objects, and totalCount
, which indicates the total number of organization invitations in the system for the specified organization.
Filter by invitation status
Retrieves organization invitation list that is filtered by the status of the invitation.
Limit the number of results
Retrieves organization invitation list that is filtered by the number of results.
Skip results
Retrieves organization invitation 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}/invitations
. See the BAPI reference for more information.
Feedback
Last updated on