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-5868817c-2f61-45cd-bb1c-3e1ce0edb13c/routes

Body

Name Description Default Valid Values Example Values
route_guid GUID of the route
{
  "route_guid": "4eeb2e69-f666-4a08-8aba-b79569e8dba1"
}

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE4OSIsImVtYWlsIjoiZW1haWwtMTIyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDUzNjIzMDN9.zWPA4-YATTVSQeurpnOf420Md9d02PLqPcrWfYF6nNI
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-5868817c-2f61-45cd-bb1c-3e1ce0edb13c/routes" -d '{
  "route_guid": "4eeb2e69-f666-4a08-8aba-b79569e8dba1"
}' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE4OSIsImVtYWlsIjoiZW1haWwtMTIyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDUzNjIzMDN9.zWPA4-YATTVSQeurpnOf420Md9d02PLqPcrWfYF6nNI" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: 651ed705-c011-4508-ad6d-f4747ca9baac
X-Content-Type-Options: nosniff