Remove App from the Route
DELETE /v2/routes/:guid/apps/:app_guid
Fields
Name |
Description |
Default |
Valid Values |
Example Values |
guid
|
The guid of the route.
|
|
|
|
Request
Headers
Route
DELETE /v2/routes/a716c443-7b8f-4003-86fc-a4b2e6ce4560/apps/54a5a673-74b7-4e85-8d6a-3751c799892a
cURL
curl "https://api.[your-domain.com]/v2/routes/a716c443-7b8f-4003-86fc-a4b2e6ce4560/apps/54a5a673-74b7-4e85-8d6a-3751c799892a" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI5NSIsImVtYWlsIjoiZW1haWwtMjIwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTU3NTQxNTF9.ORJFsYgGCbxAofijESV3AuXYaSNCUVrNR90D3aMIyHE" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Headers
Status
201 Created
Body
{
"metadata": {
"guid": "a716c443-7b8f-4003-86fc-a4b2e6ce4560",
"url": "/v2/routes/a716c443-7b8f-4003-86fc-a4b2e6ce4560",
"created_at": "2014-11-05T01:02:31+00:00",
"updated_at": null
},
"entity": {
"host": "host-16",
"domain_guid": "9d8bff9a-3005-4ba6-abed-8d5bd8a2a604",
"space_guid": "980787cb-50fc-426f-a137-70117f97931e",
"domain_url": "/v2/domains/9d8bff9a-3005-4ba6-abed-8d5bd8a2a604",
"space_url": "/v2/spaces/980787cb-50fc-426f-a137-70117f97931e",
"apps_url": "/v2/routes/a716c443-7b8f-4003-86fc-a4b2e6ce4560/apps"
}
}