How to Delete a VPC Network from a Vultr Account

Updated on November 27, 2024

Deleting a Virtual Private Cloud (VPC) network removes routing information and deactivates the associated interfaces on any attached instances.

Follow this guide to delete a VPC network using the Vultr Customer Portal, API, or CLI.

  • Vultr Customer Portal
  • Vultr API
  • Vultr CLI
  1. Navigate to Products, expand the Network drop-down and select VPC Networks from the list of options.

    Access VPC

  2. Select your target VPC network to open its management page.

    Manage a VPC Network

  3. Click Delete VPC Network.

    Delete VPC Network

  4. Click Delete VPC Network in the confirmation prompt to destroy the VPC network.

    Delete VPC Network Confirmation

  1. Send a GET request to the List VPCs endpoint and note the target VPC network's ID in your output.

    console
    $ curl "https://api.vultr.com/v2/vpcs" \
      -X GET \
      -H "Authorization: Bearer ${VULTR_API_KEY}"
    
  2. Send a DELETE request to the Delete a VPC endpoint to destroy the target VPC network.

    console
    $ curl "https://api.vultr.com/v2/vpcs/{vpc-id}" \
      -X DELETE \
      -H "Authorization: Bearer ${VULTR_API_KEY}"
    
  1. List all VPC networks in your Vultr account and note the target VPC network's ID.

    console
    $ vultr-cli vpc list
    
  2. Delete the VPC network.

    console
    $ vultr-cli vpc delete <vpc-id>