delete-route - Cloud Foundry CLI Reference Guide


NAME

delete-route - Delete a route

USAGE

Delete an HTTP route: cf delete-route DOMAIN [--hostname HOSTNAME] [--path PATH] [-f] Delete a TCP route: cf delete-route DOMAIN --port PORT [-f]

EXAMPLES

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

OPTIONS

-f

Force deletion without confirmation

--hostname, -n

Hostname used to identify the HTTP route (required for shared domains)

--path

Path used to identify the HTTP route

--port

Port used to identify the TCP route

SEE ALSO

delete-orphaned-routes, routes, unmap-route