revokeOrganizationInvitation()
Revokes an organization invitation from a user for the specified organization.
const organizationId = 'my-organization-id'; const invitationId = 'my-invitation-id'; const requestingUserId = 'my-user-id'; const organization = await clerkClient.organizations.revokeOrganizationInvitation({organizationId, invitationId, requestingUserId});
RevokeOrganizationInvitationParams
Name | Type | Description |
---|---|---|
organizationId | string | The ID of the organization the user was invited to. |
invitationId | string | The ID of the invitation to be revoked. |
requestingUserId | string | The ID of the user revoking the organization invitation. |