revokeInvitation()
revokeInvitation()
Revokes an invitation with the provided invitationId
. Throws an error if invitationId
is invalid.
Revoking an invitation makes the invitation email link unusable. However, it doesn't prevent the user from signing up if they follow the sign up flow.
Only active (i.e. non-revoked) invitations can be revoked.
- Name
invitationId
- Type
string
- Description
The ID of the invitation to revoke.
Backend API (BAPI) endpoint
This method in the SDK is a wrapper around the BAPI endpoint POST/invitations/{invitation_id}/revoke
. See the BAPI reference for more details.
Feedback
Last updated on