---
title: Detach
url: https://docs.vultr.com/reference/vultr-cli/instance/vpc/detach
description: Removes a server instance from a VPC network, disconnecting it from the private network environment.
publish_date: 2025-09-14T03:06:52.520809Z
last_updated: 2025-11-07T17:47:52.161515Z
---

The `vultr-cli instance vpc detach` command removes a virtual private cloud (VPC) connection from a specified instance, allowing you to disconnect the instance from a private network.

## Usage

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

## Examples

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