---
title: "orgs invitations revoke"
description: "Revoke an invitation"
canonical: "https://pgbeam.com/docs/cli/orgs/invitations/revoke"
last-updated: "2026-10-22T11:48:14.000Z"
---

# orgs invitations revoke

> Revoke an invitation

URL: https://pgbeam.com/docs/cli/orgs/invitations/revoke

{/* Auto-generated from CLI commands. Do not edit. Run `pnpm generate:cli-docs` to regenerate. */}

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

## Usage

```bash
pgbeam orgs invitations revoke <id> [flags]
```

## Options

| Option        | Description                                                 | Required | Default |
| ------------- | ----------------------------------------------------------- | -------- | ------- |
| `<id>`        |                                                             | Yes      | -       |
| `--yes`, `-y` | Skip the confirmation prompt (useful for scripts and CI/CD) | No       | -       |

> **Global options**
>
> All [global options](/docs/cli/global-options) (`--token`, `--profile`,
> `--project`, `--org`, `--json`, `--no-color`, `--no-trunc`, `--debug`) are
> also available on this command.

## Examples

```bash
# Revoke an invitation
pgbeam orgs invitations revoke

# Output as JSON
pgbeam orgs invitations revoke --json
```

## Output

Renders a human-readable table or detail view by default; pass `--json` for the raw API response.