unmap-route - Cloud Foundry CLI Reference Guide |
cf unmap-route APP_NAME DOMAIN [--hostname HOSTNAME] [--path PATH]
Unmap a TCP route:
cf unmap-route APP_NAME DOMAIN --port PORT
cf unmap-route my-app example.com # example.com
cf unmap-route my-app example.com --hostname myhost # myhost.example.com
cf unmap-route my-app example.com --hostname myhost --path foo # myhost.example.com/foo
cf unmap-route my-app example.com --port 5000 # example.com:5000
Hostname used to identify the HTTP route
Path used to identify the HTTP route
Port used to identify the TCP route