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

<Info>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.</Info>

Update an Astro Workspace.

<Tabs>
  <Tab title="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`](/docs/cli/v1.46/astro-workspace-create)
    * [`astro deployment update`](/docs/cli/v1.46/astro-deployment-update)
  </Tab>

  <Tab title="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`](/docs/cli/v1.46/astro-workspace-create)
    * [`astro deployment update`](/docs/cli/v1.46/astro-deployment-update)
  </Tab>
</Tabs>
