---
title: "ezgh compute network-interfaces delete"
description: "Delete a network interface."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ezgh compute network-interfaces delete

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh compute network-interfaces delete <interface> [--yes] [flags]
```

Delete a network interface that isn't attached (interface_in_use otherwise). Its /64 goes back to the pool; its IPv4 address is released if the address's autoRelease is on, else only disassociated. It asks first on a terminal; `--yes` confirms otherwise.

Part of [`ezgh compute network-interfaces`](/cli/reference/compute-network-interfaces).

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `-y`, `--yes` | boolean |  | don't ask for confirmation |

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/compute-network-interfaces-delete/index.mdx
