Apps API

Remove Route from the App

DELETE /v2/apps/:guid/routes/:route_guid

Request

Route

DELETE /v2/apps/68f86b99-e770-4482-877e-917fe2573f1f/routes/436f4dd4-548a-4946-8746-cac69b8669dc

Parameters

Name Description Valid Values Example Values
guid The guid of the App
route_guid The guid of the route

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQzNyIsImVtYWlsIjoiZW1haWwtMjk5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg5MDR9.SjDnfN8J_-g8B2k6JTo3dJTWYryPsfXGZI4u9QxfbRY
Host: example.org
Content-Type: application/json
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/apps/68f86b99-e770-4482-877e-917fe2573f1f/routes/436f4dd4-548a-4946-8746-cac69b8669dc" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQzNyIsImVtYWlsIjoiZW1haWwtMjk5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg5MDR9.SjDnfN8J_-g8B2k6JTo3dJTWYryPsfXGZI4u9QxfbRY" \
	-H "Host: example.org" \
	-H "Content-Type: application/json" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: cd1360f1-f941-4a50-9bc5-a5adf6bdb6f2
X-Content-Type-Options: nosniff