# update

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

## Usage

```
cldkctl flexi-network subnet 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 Subnet List**](https://docs.cloudeka.ai/cloudeka-api-list/command-reference/cldkctl-flexi-network/subnet/list) section to obtain the **subnet ID**.
2. Run the following command in your terminal:

```
cldkctl flexi-network subnet update [subnet_id] 
```

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

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FtNt3soyCcZNDP5xpQZqw%2Fimage.png?alt=media&#x26;token=1a92f453-69bf-4ebc-b92e-fdc2707a5f78" 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%2F2dxrCph01aZVAAiNrwcz%2Fimage.png?alt=media&#x26;token=518967de-0555-4acd-879e-64dd53f6303e" 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%2FbhxYlfvaVfSpycyULP15%2Fimage.png?alt=media&#x26;token=b79aa149-576b-412f-9db5-5842b44877f7" 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. |
