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-776cb858-2561-4393-a08a-44db7e1843ac/routes

Parameters

Name Description Valid Values Example Values
route_guid GUID of the route

Body

Name Description Default Valid Values Example Values
{
  "route_guid": "8e3a80d9-47b4-46d9-a372-769dc5685ad0"
}

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMzMyIsImVtYWlsIjoiZW1haWwtMjUwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzM5ODExMjB9.icDoG51nQrpcZHIqP4u1E2cFqVaFbFQ06B0NIijUQLs
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-776cb858-2561-4393-a08a-44db7e1843ac/routes" -d '{
  "route_guid": "8e3a80d9-47b4-46d9-a372-769dc5685ad0"
}' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMzMyIsImVtYWlsIjoiZW1haWwtMjUwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzM5ODExMjB9.icDoG51nQrpcZHIqP4u1E2cFqVaFbFQ06B0NIijUQLs" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: a8133f8c-ed4d-4b4d-8eda-03f8eef9bc6d
X-Content-Type-Options: nosniff