Remove App from the Route
DELETE /v2/routes/:guid/apps/:app_guid
Request
Route
DELETE /v2/routes/224a62e9-efa3-473b-b9b0-977ae8277f74/apps/e7790d19-b6f4-4ade-ac22-70e137e4cf37
Body
Name |
Description |
Default |
Valid Values |
Example Values |
guid
|
The guid of the route.
|
|
|
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/routes/224a62e9-efa3-473b-b9b0-977ae8277f74/apps/e7790d19-b6f4-4ade-ac22-70e137e4cf37" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTkwIiwiZW1haWwiOiJlbWFpbC04OUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDM1MTAyODUwfQ.dfRPp48U64SbGZJF2mxcbn-TLl_mOVboq2n77iLfsjg" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "224a62e9-efa3-473b-b9b0-977ae8277f74",
"url": "/v2/routes/224a62e9-efa3-473b-b9b0-977ae8277f74",
"created_at": "2015-06-16T23:40:50Z",
"updated_at": null
},
"entity": {
"host": "host-21",
"path": "",
"domain_guid": "ed25fac3-bba9-4e35-a65d-42c045a79e60",
"space_guid": "935a7ffe-a8e0-46d6-b0a5-f6ba608aca16",
"domain_url": "/v2/domains/ed25fac3-bba9-4e35-a65d-42c045a79e60",
"space_url": "/v2/spaces/935a7ffe-a8e0-46d6-b0a5-f6ba608aca16",
"apps_url": "/v2/routes/224a62e9-efa3-473b-b9b0-977ae8277f74/apps"
}
}
Headers