Remove App from the Route
DELETE /v2/routes/:guid/apps/:app_guid
Request
Route
DELETE /v2/routes/aad34567-c2d8-4925-8f5e-28ba6a4ad2a9/apps/470b640b-0a93-4509-a867-df84aeb4e98c
Parameters
Name |
Description |
Valid Values |
Example Values |
app_guid
|
The guid of the app
|
|
|
Body
Name |
Description |
Default |
Valid Values |
Example Values |
guid
|
The guid of the route.
|
|
|
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/routes/aad34567-c2d8-4925-8f5e-28ba6a4ad2a9/apps/470b640b-0a93-4509-a867-df84aeb4e98c" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQxMCIsImVtYWlsIjoiZW1haWwtMzAyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzY4Mjk4MDF9.SX04O4XHsapNYYq21hqs5do0s6C_b8V3WM1AsvKflfs" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "aad34567-c2d8-4925-8f5e-28ba6a4ad2a9",
"url": "/v2/routes/aad34567-c2d8-4925-8f5e-28ba6a4ad2a9",
"created_at": "2015-07-06T23:23:21Z",
"updated_at": null
},
"entity": {
"host": "host-19",
"path": "",
"domain_guid": "6f8a9a69-b38e-4783-880f-91833ee04a06",
"space_guid": "03c43a52-e7ba-4149-895e-556679841e55",
"domain_url": "/v2/domains/6f8a9a69-b38e-4783-880f-91833ee04a06",
"space_url": "/v2/spaces/03c43a52-e7ba-4149-895e-556679841e55",
"apps_url": "/v2/routes/aad34567-c2d8-4925-8f5e-28ba6a4ad2a9/apps"
}
}
Headers