unmap-route - Cloud Foundry CLI Reference Guide


NAME

unmap-route - Remove a url route from an app

USAGE

Unmap an HTTP route: cf unmap-route APP_NAME DOMAIN [--hostname HOSTNAME] [--path PATH] Unmap a TCP route: cf unmap-route APP_NAME DOMAIN --port PORT

EXAMPLES

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

OPTIONS

--hostname, -n

Hostname used to identify the HTTP route

--path

Path used to identify the HTTP route

--port

Port used to identify the TCP route

SEE ALSO

delete-route, routes