delete-route - Cloud Foundry CLI Reference Guide |
cf delete-route DOMAIN [--hostname HOSTNAME] [--path PATH] [-f]
Delete a TCP route:
cf delete-route DOMAIN --port PORT [-f]
cf delete-route example.com # example.com
cf delete-route example.com --hostname myhost # myhost.example.com
cf delete-route example.com --hostname myhost --path foo # myhost.example.com/foo
cf delete-route example.com --port 5000 # example.com:5000
Force deletion without confirmation
Hostname used to identify the HTTP route (required for shared domains)
Path used to identify the HTTP route
Port used to identify the TCP route