---
title: "revokeOrgInvitation"
description: "Revoke an invitation"
canonical: "https://pgbeam.com/docs/ts-sdk/account/revokeOrgInvitation"
last-updated: "2026-09-07T06:13:50.000Z"
---

# revokeOrgInvitation

> Revoke an invitation

URL: https://pgbeam.com/docs/ts-sdk/account/revokeOrgInvitation

Cancels a pending invitation so it can no longer be accepted.

## Usage

## Parameters

Parameter

Type

Required

Description

pathParams.org\_id

`string`

Yes

Unique organization identifier.

pathParams.invitation\_id

`string`

Yes

Unique organization invitation identifier. Opaque, with no type prefix. Invitations created through this API are 32 lowercase hex characters; invitations created in the dashboard carry an id of a different shape, so treat it as opaque and read it from `listOrgInvitations`.

## Response

`Promise<void>`: no content.

## Example

## Errors

Status

Description

400

Invalid request parameters.

401

Missing or invalid authentication.

403

Operation not allowed by current plan limits.

404

Resource not found.

429

Rate limited. Try again later.