# reassign

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

## Usage

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

## Aliases

```
reassign, reas
```

## 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 reassign -i 
```

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

<figure><img src="/files/7oUqFubvws3FaYUMrFp9" alt=""><figcaption></figcaption></figure>

3. Select the **Resource Type** where the floating IP will be reassigned.
4. Select the resource from the **Resource** list.

<figure><img src="/files/7x8wnn8vGCPAoFe1WhvW" alt=""><figcaption></figcaption></figure>

5. Select the **VPC Port** associated with the selected instance.

<figure><img src="/files/Owu34XeoxuWcBwp9p1os" alt=""><figcaption></figcaption></figure>

6. Confirm the creation by selecting **Confirm**, or cancel the process by selecting **Cancel**.

<figure><img src="/files/UDQQnokk5iO9xEyN3DX8" alt=""><figcaption></figcaption></figure>

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

<figure><img src="/files/mL20eessfNbA22XXl61V" 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="/files/fZA2bPAozXLajC4GipGo" alt=""><figcaption></figcaption></figure>

## Flags

{% hint style="info" %}
This command supports [global flags](/guidance-for-individual/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 reassign command                             |
| --interactive    | -i        | false   | Force interactive TUI mode                                |
| --port-id        |           |         | VPC Port ID (required in non-interactive mode)            |
| --resource-id    |           |         | Resource (instance) ID (required in non-interactive mode) |
| --resource-type  |           |         | Resource type: Instance                                   |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.cloudeka.ai/guidance-for-individual/cloudeka-api-list/command-reference/cldkctl-flexi/network/floatingip/reassign.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
