> 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/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
```

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%2Fgit-blob-b1f8479337f20d05565c6ef48fbafa773c43d029%2Fimage.png?alt=media" 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%2Fgit-blob-0f1867eb5c458367bccfc50802d9dcb7271a18c8%2Fimage.png?alt=media" 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%2Fgit-blob-a523e5959af1898620c4fa25273aba913b2fa2c6%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

#### Non-Interactive Mode

1. Provide all required values using command flags.
2. Add `--auto-confirm` or `-y` 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%2Fgit-blob-60adae9b37491052f899f8ce5cea134e6b903817%2Fimage.png?alt=media" alt=""><figcaption></figcaption></figure>

## Flags

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

| Flag             | Shorthand | Default | Description                                       |
| ---------------- | --------- | ------- | ------------------------------------------------- |
| --auto-confirm   | -y        | false   | Skip confirmation prompt in non-interactive mode  |
| --floating-ip-id |           |         | Floating IP ID (required in non-interactive mode) |
| --help           | -h        |         | Help for the unassign command.                    |
| --interactive    | -i        | false   | Force interactive TUI mode                        |
