Skip to Content
Clerk logo

Clerk Docs

Ctrl + K
Go to clerkstage.dev

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

NameTypeDescription
organizationIdstringThe ID of the organization the user was invited to.
invitationIdstringThe ID of the invitation to be revoked.
requestingUserIdstringThe ID of the user revoking the organization invitation.

What did you think of this content?

Clerk © 2024