Skip to main content

dtctl network delete

Usage​

dtctl network delete <id> [flags]

Aliases​

d

Description​

Delete a network by ID. The network must have no attached resources (VMs, routers, load balancers).

Example​

dtctl network delete <network-id>

Flags​

OptionDescription
--force, -fDelete without asking for confirmation
Default: false
CommandDescription
dtctl network listList networks
dtctl network showShow a network
dtctl network createCreate a network
dtctl network updateRename a network
dtctl network update-subnetUpdate a subnet
dtctl network subnetShow subnet details

Global Flags​

OptionDescription
--api-urlSend this command to a different API endpoint, e.g. a test environment (default "https://console.dt.net.tr/api/v1")
--config, -cSpecify a custom config file
Default: ~/.config/dtctl/config.yaml
--no-headersOmit the column headers, for scripting
Default: false
--output, -oOutput format: text, wide, vertical, json. text fits the terminal, wide never truncates, vertical prints one field per line
Default: text