> ## 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 organization user update

<Info>
  This command is only available on Astro.
</Info>

Update user Organization roles in your current Astro Organization.

## Usage

Run `astro organization user update` to update a user's Organization role. The CLI prompts you for the user email address associated with their account.

## Options

| Option    | Description                                                                                                                                       | Valid Values                                                                                                                                 |
| --------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| `<email>` | Specify the email for the user you want to invite or update. Use only with `astro organization user update` and `astro organization user invite`. | Any valid email                                                                                                                              |
| `--role`  | The user's role in the Organization. Use only with `astro organization user update` and `astro organization user invite`.                         | Valid values are either `ORGANIZATION_MEMBER`, `ORGANIZATION_BILLING_ADMIN`, or `ORGANIZATION_OWNER`.   The default is `ORGANIZATION_MEMBER` |

## Examples

```sh wrap theme={null}
# Invite a user to your Organization
astro organization user invite user@cosmicenergy.org --role ORGANIZATION_BILLING_ADMIN

# Update a user's role. The CLI prompts you for the user's email
astro organization user update --role ORGANIZATION_MEMBER
```

## Related commands

* [`astro login`](/docs/cli/v1.43/astro-login)
* [`astro organization user invite`](/docs/cli/v1.43/astro-organization-user-invite)
* [`astro organization user list`](/docs/cli/v1.43/astro-organization-user-list)
