---
title: "orgs members remove"
description: "Remove a member"
canonical: "https://pgbeam.com/docs/cli/orgs/members/remove"
last-updated: "2026-10-22T11:48:14.000Z"
---

# orgs members remove

> Remove a member

URL: https://pgbeam.com/docs/cli/orgs/members/remove

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

Removes someone from the organization. An organization must keep at least one owner, so the last remaining owner cannot be removed and cannot be demoted either: transfer ownership first.

## Usage

```bash
pgbeam orgs members remove <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
# Remove a member
pgbeam orgs members remove

# Output as JSON
pgbeam orgs members remove --json
```

## Output

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