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-159f9755-4801-4650-a2bd-561d8702fa6d/routes

Parameters

Name Description Valid Values Example Values
route_guid GUID of the route

Body

Name Description Default Valid Values Example Values
{
  "route_guid": "876ffafb-440c-4716-a18d-e0394685d1a4"
}

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMzIiwiZW1haWwiOiJlbWFpbC0zMkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIucmVhZCIsImNsb3VkX2NvbnRyb2xsZXIud3JpdGUiXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDM1MTAyODQ2fQ.CXUQwv-RmEOUPWLw4hi4_61pspg5MYDRXPAeidI2dBQ
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-159f9755-4801-4650-a2bd-561d8702fa6d/routes" -d '{
  "route_guid": "876ffafb-440c-4716-a18d-e0394685d1a4"
}' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMzIiwiZW1haWwiOiJlbWFpbC0zMkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIucmVhZCIsImNsb3VkX2NvbnRyb2xsZXIud3JpdGUiXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDM1MTAyODQ2fQ.CXUQwv-RmEOUPWLw4hi4_61pspg5MYDRXPAeidI2dBQ" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: f3c9588f-c5e7-4563-8eef-dfa58f557481
X-Content-Type-Options: nosniff