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
| Option | Description |
|---|---|
--force, -f | Delete without asking for confirmation Default: false |
Related Commands
| Command | Description |
|---|---|
| dtctl network list | List networks |
| dtctl network show | Show a network |
| dtctl network create | Create a network |
| dtctl network update | Rename a network |
| dtctl network update-subnet | Update a subnet |
| dtctl network subnet | Show subnet details |
Global Flags
| Option | Description |
|---|---|
--api-url | Send this command to a different API endpoint, e.g. a test environment (default "https://console.dt.net.tr/api/v1") |
--config, -c | Specify a custom config file Default: ~/.config/dtctl/config.yaml |
--no-headers | Omit the column headers, for scripting Default: false |
--output, -o | Output format: text, wide, vertical, json. text fits the terminal, wide never truncates, vertical prints one field per line Default: text |