revokeOrganizationInvitation()
Revokes an OrganizationInvitation
from a user for the specified organization.
- Name
organizationId
- Type
string
- Description
The ID of the organization the user was invited to.
- Name
invitationId
- Type
string
- Description
The ID of the invitation to be revoked.
- Name
requestingUserId
- Type
string
- Description
The ID of the user revoking the organization invitation.
Example
In the following example, you can see that the returned OrganizationInvitation
object has a status
of 'revoked'
.
Backend API (BAPI) endpoint
This method in the SDK is a wrapper around the BAPI endpoint POST/organizations/{organization_id}/invitations/{invitation_id}/revoke
. See the BAPI reference for more information.
Feedback
Last updated on