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
--asyncDo not wait for the action to complete on the server before returning.
-h, --helphelp for delete-route
--hostname=stringHostname for the Route.
--path=stringURL path for the Route.
Inherited flags
These flags are inherited from parent commands.
--as=stringUsername to impersonate for the operation.
--as-group=stringsGroup to impersonate for the operation. Include this flag multiple times to specify multiple groups.
--config=stringPath to the Kf config file to use for CLI requests.
--kubeconfig=stringPath to the kubeconfig file to use for CLI requests.
--log-httpLog HTTP requests to standard error.
--space=stringSpace to run the command against. This flag overrides the currently targeted Space.
Last modified October 24, 2025: Remove references to cluster task (#1089) (da51826)