delete

Delete a gateway route

Usage

ionosctl apigateway route delete [flags]

Aliases

For route command:

[r]

For delete command:

[del d]

Description

Delete a gateway route

Options

  -a, --all                 Delete all routes. Required or -r
  -u, --api-url string      Override default host URL. If contains placeholder, location will be embedded. Preferred over the config file override 'apigateway' and env var 'IONOS_API_URL' (default "https://apigateway.%s.ionos.com")
      --cols strings        Set of columns to be printed on output 
                            Available columns: [Id Name Type Paths Methods Host Port Weight Status StatusMessage]
  -c, --config string       Configuration file used for authentication (default "$XDG_CONFIG_HOME/ionosctl/config.yaml")
  -f, --force               Force command to execute without user input
  -i, --gateway-id string   The ID of the gateway (required)
  -h, --help                Print usage
  -l, --location string     Location of the resource to operate on. Can be one of: de/txl, gb/lhr, fr/par, es/vit (default "de/txl")
      --no-headers          Don't print table headers when table output is used
  -o, --output string       Desired output format [text|json|api-json] (default "text")
  -q, --quiet               Quiet output
      --route-id string     The ID of the route. Required or -a
  -v, --verbose             Print step-by-step process when running command

Examples

ionosctl apigateway route delete --gateway-id ID --route-id ID_ROUTE

Last updated