# update

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

## Usage

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

```
cldkctl flexi-network port update [port_id] 
```

3. Replace **\[port\_id]** with the actual port ID.
4. The terminal displays the **Update Port** form, modify the port configuration.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FzDHnBO0BB7raKsDtHobH%2Fimage.png?alt=media&#x26;token=59db9a91-daf6-49e8-9d68-37b74e328108" 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%2FJ1T98OrcI0yWXemMMwyG%2Fimage.png?alt=media&#x26;token=bff42897-71e4-4339-b10b-66c78442971a" 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%2FQbgP4hMQXrRuGLruQwYC%2Fimage.png?alt=media&#x26;token=f9750711-38ee-4c00-8186-4ab52b49029b" 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. |
