Denvr AI Services Docs
  • Welcome to Denvr AI Services Docs!
  • OVERVIEW
    • Getting started
      • Launch a virtual machine
      • Secure Shell (SSH): Best Practices
      • API Usage samples
      • Registration
    • Data centers
    • Shared responsibility model
    • Technical support
    • What's new!
  • PLATFORM
    • Dashboard
    • Applications
    • Virtual machines
    • Bare metal
    • Storage
    • Networking
    • User management
    • Billing
  • API Reference
    • Authentication
    • Clusters
    • Applications
    • Virtual machines
    • VPCs
    • Bare metal
  • Additional Information
    • FAQs
      • Desktop vs data center GPUs
      • Differences of bare metal and virtual machines
      • GPU monitoring
      • Using Github with SSH keys
      • Data persistence and recovery
      • Do you support Kubernetes?
      • Installing GPU drivers
      • What is the network bandwidth?
      • What ports are publicly accessible?
      • What is persistent local storage?
      • Adding DAS to /etc/fstab
      • Provisioning States
    • Policies
      • Terms of Service
      • Privacy Policy
      • Maintenance policy
Powered by GitBook
On this page
  1. API Reference

VPCs

Explore this section for comprehensive information on endpoints related to the deployment, management, and operation of Virtual Pri within our cloud software API environment.

PreviousVirtual machinesNextBare metal

Last updated 2 months ago

Get a list of VPCs

get
Query parameters
clusterstringOptional
Responses
200
Success
400
Bad Request
401
Unauthorized
403
Forbidden
500
Server Error
get
GET /api/v1/vpcs/GetVpcs HTTP/1.1
Host: 
Accept: */*
{
  "items": [
    {
      "id": "text",
      "name": "text",
      "cluster": "text",
      "tenancyName": "text",
      "ipRange": "text",
      "createdAt": "2025-05-15T05:26:59.303Z",
      "blockIntraVpcComms": true,
      "isDefault": true
    }
  ]
}

Get detailed information about a specific VPC

get
Query parameters
IdstringRequired

Unique identifier for a resource within the cluster

ClusterstringRequired

The cluster you're operating on

Example: Msc1
Responses
200
Success
400
Bad Request
401
Unauthorized
403
Forbidden
500
Server Error
get
GET /api/v1/vpcs/GetVpc?Id=text&Cluster=Msc1 HTTP/1.1
Host: 
Accept: */*
{
  "id": "text",
  "name": "text",
  "cluster": "text",
  "tenancyName": "text",
  "ipRange": "text",
  "createdAt": "2025-05-15T05:26:59.303Z",
  "blockIntraVpcComms": true,
  "isDefault": true
}

Destroy a VPC

delete
Query parameters
IdstringRequired

Unique identifier for a resource within the cluster

ClusterstringRequired

The cluster you're operating on

Example: Msc1
Responses
200
Success
400
Bad Request
401
Unauthorized
403
Forbidden
500
Server Error
delete
DELETE /api/v1/vpcs/DestroyVpc?Id=text&Cluster=Msc1 HTTP/1.1
Host: 
Accept: */*
{
  "id": "text",
  "name": "text",
  "cluster": "text",
  "tenancyName": "text",
  "ipRange": "text",
  "createdAt": "2025-05-15T05:26:59.303Z",
  "blockIntraVpcComms": true,
  "isDefault": true
}
  • GETGet a list of VPCs
  • GETGet detailed information about a specific VPC
  • POSTCreate a new VPC
  • DELETEDestroy a VPC

Create a new VPC

post
Body
namestring · min: 1Required

name of the VPC. should start with {tenancyName}- in case of creating default VPC, name should be {tenancyName}

blockIntraVpcCommsbooleanOptional

if set to true, this VPC will block any intra-VPC communications if ommited, default is false

Example: false
isDefaultbooleanOptional

if set to true, this VPC will be the default VPC for the cluster only one VPC can be default per cluster. if omitted, default is false

Example: false
clusterstring · min: 1Required

The cluster you're operating on

Example: Msc1
Responses
200
Success
400
Bad Request
401
Unauthorized
403
Forbidden
500
Server Error
post
POST /api/v1/vpcs/CreateVpc HTTP/1.1
Host: 
Content-Type: application/json-patch+json
Accept: */*
Content-Length: 77

{
  "name": "text",
  "blockIntraVpcComms": false,
  "isDefault": false,
  "cluster": "Msc1"
}
{
  "id": "text",
  "name": "text",
  "cluster": "text",
  "tenancyName": "text",
  "ipRange": "text",
  "createdAt": "2025-05-15T05:26:59.303Z",
  "blockIntraVpcComms": true,
  "isDefault": true
}