> For the complete documentation index, see [llms.txt](https://docs.cloudeka.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudeka.ai/guideline-for-enterprise/cloudeka-api-list/command-reference/cldkctl-flexi/network/floatingip/unassign.md).

# unassign

Unassign a specific floating ip network in your project. This command allows you to unassign a floating ip by providing its unique identifier (port ID).

## Usage

```
cldkctl flexi network floatingip unassign [flags]
```

## Aliases

```
unassign, unas
```

## Steps

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

#### Interactive Mode

1. Run the following command in your terminal:

```
cldkctl flexi network floatingip unassign -i true
```

2. The terminal displays a list of available **Floating IPs**. Select the floating IP that you want to unassign.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2F8rHoJb3PGH2p5QsR1tp6%2F1.png?alt=media&amp;token=ee077006-95de-484b-8fd6-c30004579ec7" alt=""><figcaption></figcaption></figure>

3. When prompted, confirm the action by selecting **y**, or cancel the process by selecting **n**.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FbaLfD9cFDyIjEHq5l6Me%2F2.png?alt=media&amp;token=a1e7cb54-c454-457e-8a53-9a7dd7582a1e" alt=""><figcaption></figcaption></figure>

4. 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%2FkLRgDZafYPi0MBnXsFqa%2F3.png?alt=media&amp;token=8d50ae6e-080e-477d-9e5e-986fe0336811" alt=""><figcaption></figcaption></figure>

#### Non-Interactive Mode

1. Provide all required values using command flags.
2. Add `--auto-confirm true` or `-y true` to skip confirmation prompts in non-interactive mode.
3. Run the command in your terminal.
4. 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%2F4DWg295H2knh7xPZBrSz%2Fimage.png?alt=media&amp;token=74470044-9277-4ebd-883e-b53c71043919" alt=""><figcaption></figcaption></figure>

## Flags

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

| Flag                    | Shorthand | Default | Description                                                   |
| ----------------------- | --------- | ------- | ------------------------------------------------------------- |
| --auto-confirm string   | -y        | false   | Skip confirmation prompt in non-interactive mode (true/false) |
| --floating-ip-id string |           |         | Floating IP ID or name (required in non-interactive mode)     |
| --help                  | -h        |         | help for unassign                                             |
| --interactive string    | -i        | false   | Run in interactive/TUI mode (true/false)                      |
