> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fly.io/llms.txt
> Use this file to discover all available pages before exploring further.

# fly orgs members update

Change a member's role, or whether they get the organization's email
alerts. The member is identified by email and must already belong to the
organization. Admins can manage members, billing and the organization itself;
members can't.

Pass the organization slug and the email address as arguments. If `FLY_ORG`
is set, pass only the email; a slug that names a different organization is
an error. With neither, you pick from the organizations you administer in a
terminal, and with no email you're prompted for one.

Making someone an admin, or taking admin away from yourself, asks for
confirmation; pass `--yes` to skip it, which is required without a
terminal. The command refuses to demote the organization's last admin.

## Usage

```
fly orgs members update [slug] [email] [flags]
```

## Examples

```
  # Make a member an admin
  fly orgs members update my-org bob@example.com --role admin

  # Turn off email alerts for a member, without changing their role
  fly orgs members update my-org bob@example.com --alerts off --json
```

## Options

```
      --alerts string   Whether the member gets the organization's email alerts: on or off
  -h, --help            help for update
  -j, --json            JSON output
      --role string     The member's new role: admin or member
  -y, --yes             Accept all confirmations (also --auto-confirm)
```

## Global Options

```
  -t, --access-token string   Fly.io API token to use, overriding FLY_ACCESS_TOKEN, FLY_API_TOKEN and the saved login
      --debug                 Print additional logs and traces
      --verbose               Verbose output
```

## See Also

* [fly orgs members](https://docs.fly.io/flyctl/cmd/fly_orgs_members)	 - Manage organization members
