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

# astro workspace user update

> Update a Workspace user.

> [!NOTE]
>
> The behavior and format of this command differs depending on what Astronomer product you're using. Use the following tabs to change product contexts.

**Astro**

Update the role of an existing user in your current Workspace. The CLI prompts you for the user's email.

## Usage

```sh wrap theme={null}
astro workspace user update --role <user-role>
```

## Options

| Option | Description | Valid Values |
| - | - | - |
| `<email>` | The email address of the user whose role you want to update. | Any valid email |
| `--role` (*Required*) | The user's role in the Workspace. | Valid values are `WORKSPACE_ACCESSOR`, `WORKSPACE_MEMBER`, `WORKSPACE_OPERATOR`, `WORKSPACE_AUTHOR`, or `WORKSPACE_OWNER`. |

## Related commands

* [`astro workspace user add`](https://astronomer.io/docs/cli/v1.47/astro-workspace-user-add)
* [`astro organization user update`](https://astronomer.io/docs/cli/v1.47/astro-organization-user-update)

**APC**

Update a user's permissions in your current Astronomer Workspace.

## Usage

```sh wrap theme={null}
astro workspace user update --email <user-email-address>
```

## Options

| Option | Description | Possible Values |
| - | - | - |
| `--email` (*Required*) | The user's email. | Any valid email address |
| `--role` | The role you're updating the user to. | Possible values are `WORKSPACE_VIEWER`, `WORKSPACE_EDITOR`, or `WORKSPACE_ADMIN`. Default value is `WORKSPACE_VIEWER` |

#### Related documentation

* [Manage Workspaces and Deployments on Astronomer](https://astronomer.io/docs/astro-private-cloud/v-0-37/manage-workspaces.md)
* [Manage User Permissions on Astronomer](https://astronomer.io/docs/astro-private-cloud/v-0-37/workspace-permissions.md)
