---
title: "ezgh compute network-interfaces private-addresses unassign"
description: "Take a secondary address from a private 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 private-addresses unassign

{/* 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 private-addresses unassign <interface> <address> [--wait] [flags]
```

Take a secondary private address from a network interface (ID, UUID or name). It's withdrawn from every host before it can be given to anything else. It prints the operation; `--wait` waits until it has succeeded. A primary address can't be unassigned.

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

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--wait` | boolean |  | wait until the operation has succeeded, and print it then |
| `--wait-timeout` | duration | `10m0s` | how long `--wait` waits |

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

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