Skip to main content

dtctl region change

Usage​

dtctl region change <id>

Aliases​

c

Description​

Set the active region to the given region ID (see dtctl region list). All subsequent commands operate against this region until changed.

Example​

dtctl region change 1
CommandDescription
dtctl region listList the regions available to your account
dtctl region initSet the region to your first available region

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