---
title: Detach
url: https://docs.vultr.com/reference/vultr-cli/instance/vpc2/detach
description: Disconnects a server instance from a VPC 2.0 network by removing the network interface.
publish_date: 2025-09-14T03:06:56.475050Z
last_updated: 2025-11-07T17:47:58.931895Z
---

The `vultr-cli instance vpc2 detach` command disconnects a server instance from a VPC 2.0 network, removing network access between them.

## Usage

```console
$ vultr-cli instance vpc2 detach <Instance ID>
```

## Examples

```console
# Full example
$ vultr-cli instance vpc2 detach <instanceID> --vpc-id="2126b7d9-5e2a-491e-8840-838aa6b5f294"
```