Skip to content

Delete a VPC

client.projects.vpcs.delete(stringvpcID, VpcDeleteParams { project_id } params, RequestOptionsoptions?): void
DELETE/projects/{project_id}/vpcs/{vpc_id}

Deletes a specific VPC.

ParametersExpand Collapse
vpcID: string
params: VpcDeleteParams { project_id }
project_id: string

The unique identifier of the project.

Delete a VPC

import TigerCloud from 'tiger-cloud';

const client = new TigerCloud({
  apiKey: process.env['TIGER_CLOUD_API_KEY'], // This is the default and can be omitted
});

await client.projects.vpcs.delete('1234567890', { project_id: 'rp1pz7uyae' });
Returns Examples