---
title: "orgs members set-role"
description: "Change a member's role"
canonical: "https://pgbeam.com/docs/cli/orgs/members/set-role"
last-updated: "2026-09-07T06:13:50.000Z"
---

# orgs members set-role

> Change a member's role

URL: https://pgbeam.com/docs/cli/orgs/members/set-role

Changes what a member is allowed to do. An organization must keep at least one owner, so the last owner cannot be demoted, and `owner` cannot be assigned here: ownership transfer is a separate, higher-privilege flow.

## Usage

## Options

Option

Description

Required

Default

`<id>`

Yes

-

`--role <value>`

A role that can be assigned through the member API. This is `OrgRole` without `owner`: ownership is transferred through a separate flow, so requesting it here is rejected with a 400. One of: admin, member, security\_admin, billing\_admin, auditor, policy-author, approver.

Yes

-

All global options (`--token`, `--profile`,
`--project`, `--org`, `--json`, `--no-color`, `--no-trunc`, `--debug`) are
also available on this command.

## Examples

## Output

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