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-31a05ab0-1907-4f1f-8cfb-d76f29cd844e/routes

Body

Name Description Default Valid Values Example Values
route_guid GUID of the route
{
  "route_guid": "3f0121a8-54e1-45c0-8daf-44d0f8ba1091"
}

Headers

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

cURL

curl "https://api.[your-domain.com]/v3/apps/guid-31a05ab0-1907-4f1f-8cfb-d76f29cd844e/routes" -d '{
  "route_guid": "3f0121a8-54e1-45c0-8daf-44d0f8ba1091"
}' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM3MSIsImVtYWlsIjoiZW1haWwtMjYxQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5yZWFkIiwiY2xvdWRfY29udHJvbGxlci53cml0ZSJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mzg2NDE4MTJ9.a0rXCCEwu9YeM4aUb0OsQL_MlOQGYGUG6TKKl8XCA0U" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: c6e015f4-79d2-4762-aac5-9c947fce2a7b
X-Content-Type-Options: nosniff