Docs

You are viewing an archived version of the docs.Go to latest version

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

What did you think of this content?

Last updated on