Skip to main content

dtctl vpn update-service

Usage​

dtctl vpn update-service [flags]

Aliases​

uw

Description​

Update a VPN service's name, description, or admin state.

Example​

dtctl vpn update-service --vpn-id <vpn-id> --service-id <service-id> --name new-name

Flags​

OptionDescription
--admin-state-up, -aWhether the service is administratively up
Default: true
--description, -dDescription
--name, -nVPN service name
--service-id, -kVPN service ID (required)
--vpn-id, -iVPN ID (required)
CommandDescription
dtctl vpn create-serviceCreate a VPN service
dtctl vpn delete-serviceDelete a VPN service
dtctl vpn service-detailsShow a VPN service
dtctl vpn servicesList VPN services

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