kf delete-route

Delete a Route in the targeted Space.

Name

kf delete-route - Delete a Route in the targeted Space.

Synopsis

kf delete-route DOMAIN [--hostname HOSTNAME] [--path PATH] [flags]

Examples

# Delete the Route myapp.example.com
kf delete-route example.com --hostname myapp
# Delete a Route on a path myapp.example.com/mypath
kf delete-route example.com --hostname myapp --path /mypath

Flags

--async

Do not wait for the action to complete on the server before returning.

-h, --help

help for delete-route

--hostname=string

Hostname for the Route.

--path=string

URL path for the Route.

Inherited flags

These flags are inherited from parent commands.

--as=string

Username to impersonate for the operation.

--as-group=strings

Group to impersonate for the operation. Include this flag multiple times to specify multiple groups.

--config=string

Path to the Kf config file to use for CLI requests.

--kubeconfig=string

Path to the kubeconfig file to use for CLI requests.

--log-http

Log HTTP requests to standard error.

--space=string

Space to run the command against. This flag overrides the currently targeted Space.