# `bird members update`

## Usage

```bash
bird members update <member-id> [flags]
```

## Description

Update a member's workspace role

Changes the workspace role assigned to the specified user. The user must already be a member of the workspace.

Build the request from flags, a JSON MemberUpdate body via --body-file ("-" reads
stdin), or both — a flag overrides the matching body field. Run --example to
print a ready-to-edit body, or --dry-run to print the resolved request without
sending it.

## Examples

```bash
# print the body shape (no credentials needed)
bird members update --example
```

## Options

#### Request

| Name                | Description                                                  |
| ------------------- | ------------------------------------------------------------ |
| `--body-file`       | Read the JSON request body from this file; "-" reads stdin   |
| `--example`         | Print a complete example request body, then exit             |
| `--dry-run`         | Print the resolved request without sending it, then exit     |
| `--idempotency-key` | Deduplication key; a retry with the same key won't act twice |

#### Options

| Name                | Description                                      |
| ------------------- | ------------------------------------------------ |
| `--role`            |                                                  |
| `--response-schema` | Print the fields this command returns, then exit |

## Related

| Name                                                        | Description                        |
| ----------------------------------------------------------- | ---------------------------------- |
| [`bird members create`](/docs/cli/reference/members-create) | Add org member to workspace        |
| [`bird members delete`](/docs/cli/reference/members-delete) | Remove a member from the workspace |
| [`bird members list`](/docs/cli/reference/members-list)     | List workspace members             |