Skip to main content

dtctl load-balancer delete-listener

Usage​

dtctl load-balancer delete-listener [flags]

Aliases​

dl

Description​

Delete a listener from a load balancer by ID.

Example​

dtctl load-balancer delete-listener --lb-id <lb-id> --listener-id <listener-id>

Flags​

OptionDescription
--force, -fDelete without asking for confirmation
Default: false
--lb-id, -iID of the load balancer (required)
--listener-id, -lID of the load balancer listener (required)
CommandDescription
dtctl load-balancer create-listenerCreate a listener
dtctl load-balancer update-listenerUpdate a listener
dtctl load-balancer listener-detailsShow a listener
dtctl load-balancer listener-statsShow listener statistics
dtctl load-balancer listenersList listeners of a load balancer

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