> > reference > vpcs

doctl vpcs

Go to Navigation

Usage

doctl vpcs [flags]

Description

The commands under doctl vpcs are for managing your VPCs.

With the vpcs command, you can list, create, or delete VPCs, and manage their configuration details.

Flags

OptionDescription
--help, -hHelp for this command
CommandDescription
doctldoctl is a command line interface (CLI) for the DigitalOcean API.
doctl vpcs createCreate a new VPC
doctl vpcs deletePermanently delete a VPC
doctl vpcs getRetrieve a VPC
doctl vpcs listList VPCs
doctl vpcs updateUpdate a VPC's configuration

Global Flags

OptionDescription
--access-token, -tAPI V2 access token
--api-url, -uOverride default API endpoint
--config, -cSpecify a custom config file
Default:
  • macOS: ${HOME}/Library/Application Support/doctl/config.yaml
  • Linux: ${XDG_CONFIG_HOME}/doctl/config.yaml
  • Windows: %APPDATA%\doctl\config.yaml
--contextSpecify a custom authentication context name
--output, -oDesired output format [text|json]
Default: text
--traceShow a log of network activity while performing a command
Default: false
--verbose, -vEnable verbose output
Default: false