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});
- 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.
Feedback
Last updated on