# update

Update a specific VPC network in your project. This command allows you to update a VPC by providing its unique identifier (VPC ID) and the new details you want to apply.

## Usage

```
cldkctl flexi-network vpc update [flags]
```

## Aliases

```
update, update, upt
```

## Steps

Follow the steps below to run and view the result of this command:

1. Refer to the [**Flexi Network VPC List**](https://docs.cloudeka.ai/cloudeka-api-list/command-reference/cldkctl-flexi-network/vpc/list) section to obtain the **VPC ID**.
2. Run the following command in your terminal:

```
cldkctl flexi-network vpc update [vpc_id] 
```

3. Replace **\[vpc\_id]** with the actual VPC ID.
4. The terminal displays the **Update VPC** form. Modify the VPC configuration as needed.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2Fkp1FustZkC4KuuJAdeeR%2Fimage.png?alt=media&#x26;token=413fb21f-626b-4459-9ff3-f1ff70481b64" alt=""><figcaption></figcaption></figure>

5. When prompted, confirm the update by selecting **Confirm**, or cancel the process by selecting **Cancel**.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FKiBYFxr97uBRh6u9jIGc%2Fimage.png?alt=media&#x26;token=50619069-51a1-4fba-ab39-4ca366585415" alt=""><figcaption></figcaption></figure>

6. Once completed successfully, the terminal displays the success message.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FQ5k873d1LUj9VIBGWtGp%2Fimage.png?alt=media&#x26;token=5994e310-2251-4f56-85ea-504671ec05a6" alt=""><figcaption></figcaption></figure>

## Flags

{% hint style="info" %}
This command supports [global flags](https://docs.cloudeka.ai/cloudeka-api-list/global-flags). Refer to the Global Flags section for details
{% endhint %}

| Flag       | Description                  |
| ---------- | ---------------------------- |
| -h, --help | Help for the update command. |
