# detach-interface

Detach an interface from a flexi instance in your project. This command allows you to detach an interface from a flexi instance.

## Usage

```
cldkctl flexi-intance detach-interface [name] [flags]
```

## Steps

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

1. Run the following command in your terminal:

```
cldkctl flexi-instance detach-interface [instance-name] 
```

2. Replace **\[instance-name]** with the name of the instance.
3. Select the **interface** that you want to detach.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FlpvAOHQ0ryM3C44gXnTU%2Fimage.png?alt=media&#x26;token=063d1010-de21-4e97-af13-628c4136f854" alt=""><figcaption></figcaption></figure>

4. Confirm the interface detachment by selecting **Confirm**.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2F71dDZuF6PVa1tFfGvXUY%2Fimage.png?alt=media&#x26;token=1a4fe312-8aa3-4253-8738-b0b9a8bc20fa" alt=""><figcaption></figcaption></figure>

5. 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%2FaH1ZycwsvZh6JDBD4rn6%2Fimage.png?alt=media&#x26;token=7fd77807-3106-41f7-8289-b8c639a3d1f4" 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 detach-interface command. |
| -p, --project string | Specify project ID.                    |
