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

> Update an Astro Workspace.

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

Update an Astro Workspace.

> [tab] Astro
>
> ## Usage
>
> ```sh wrap theme={null}
> astro workspace update <workspace-id> <options>
> ```
>
> You can find a Workspace's ID by running `astro workspace list`, or by opening your Workspace and going to **Workspace Settings** > **General** in the Astro UI. If you do not provide a Workspace ID, the CLI prompts you to pick from a list of Workspaces that you belong to in your current Organization.
>
> ## Options
>
> | Option | Description | Valid Values |
> | - | - | - |
> | `--description` | The description for the Workspace. | Any string |
> | `--enforce-ci-cd` | Determines whether users are required to use an API token to deploy code. | `ON` or `OFF` |
> | `--name` | The name for the Workspace. | Any string |
>
> ## Examples
>
> ```sh wrap theme={null}
> $ astro workspace update --name "My Deployment" --enforce-ci-cd OFF
> ```
>
> ## Related commands
>
> * [`astro workspace create`](https://astronomer.io/docs/cli/v1.44/astro-workspace-create)
> * [`astro deployment update`](https://astronomer.io/docs/cli/v1.44/astro-deployment-update)

> [tab] APC
>
> ## Usage
>
> ```sh wrap theme={null}
> astro workspace update <workspace-id> <options>
> ```
>
> You can find a Workspace's ID by running `astro workspace list`. If you do not provide a Workspace ID, the CLI prompts you to pick from a list of Workspaces that you belong to in your current Organization.
>
> ## Options
>
> | Option | Description | Valid Values |
> | - | - | - |
> | `--description` | The description for the Workspace. | Any string |
> | `--label` | The label for the Workspace. | Any string |
>
> ## Examples
>
> ```sh wrap theme={null}
> $ astro workspace update --label "My Deployment"
> ```
>
> ## Related commands
>
> * [`astro workspace create`](https://astronomer.io/docs/cli/v1.44/astro-workspace-create)
> * [`astro deployment update`](https://astronomer.io/docs/cli/v1.44/astro-deployment-update)
