dtctl network update
Usage
dtctl network update <id> [flags]
Aliases
u
Description
Change the name of a network.
Example
dtctl network update <network-id> --name new-name
Response
In text output (the default), this command returns the following columns: ID, Name.
Pass --output json to get the full response object instead.
Flags
| Option | Description |
|---|---|
--name, -n | New name of the network (required) |
Related Commands
| Command | Description |
|---|---|
| dtctl network list | List networks |
| dtctl network show | Show a network |
| dtctl network create | Create a network |
| dtctl network update-subnet | Update a subnet |
| dtctl network delete | Delete a network |
| 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 |