Home
Version 3
App Routes (Experimental) API

App Routes (Experimental) API

Unmap a Route

DELETE /v3/apps/:guid/routes

Request

Route

DELETE /v3/apps/guid-0362043e-7b34-4ae1-8f87-cafa15df2e74/routes

Parameters

Name Description Valid Values Example Values
route_guid GUID of the route

Body

Name Description Default Valid Values Example Values
{
  "route_guid": "c522f020-b36a-43be-9a61-3d06ca34431d"
}

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyOCIsImVtYWlsIjoiZW1haWwtMjMwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjkwMzg3MTV9.WNmDWiV9jdPJAaIo-kAJof4SapQtgIhundpWu6Ze0zs
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-0362043e-7b34-4ae1-8f87-cafa15df2e74/routes" -d '{
  "route_guid": "c522f020-b36a-43be-9a61-3d06ca34431d"
}' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyOCIsImVtYWlsIjoiZW1haWwtMjMwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjkwMzg3MTV9.WNmDWiV9jdPJAaIo-kAJof4SapQtgIhundpWu6Ze0zs" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: 483373c0-76fc-43fb-8b3c-da713519f8b0
X-Content-Type-Options: nosniff