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/0b4e30e8-adc9-4f13-b5f6-052c0b01d8b9/apps/ce4bdee9-45bb-4bd3-821a-b26ef8bc2e1d
cURL
curl "https://api.[your-domain.com]/v2/routes/0b4e30e8-adc9-4f13-b5f6-052c0b01d8b9/apps/ce4bdee9-45bb-4bd3-821a-b26ef8bc2e1d" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTkyIiwiZW1haWwiOiJlbWFpbC02M0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDIyOTkwODY5fQ.mYJwnumQlfCa-QU_xYe3v2vyPEZe9oY74AH7-xRa9so" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Headers
Status
201 Created
Body
{
"metadata": {
"guid": "0b4e30e8-adc9-4f13-b5f6-052c0b01d8b9",
"url": "/v2/routes/0b4e30e8-adc9-4f13-b5f6-052c0b01d8b9",
"created_at": "2015-01-27T19:14:29Z",
"updated_at": null
},
"entity": {
"host": "host-4",
"domain_guid": "67450f50-7027-402d-ab21-d305769ada38",
"space_guid": "c680cc3f-5aeb-4b0c-bc38-65bf296e5291",
"domain_url": "/v2/domains/67450f50-7027-402d-ab21-d305769ada38",
"space_url": "/v2/spaces/c680cc3f-5aeb-4b0c-bc38-65bf296e5291",
"apps_url": "/v2/routes/0b4e30e8-adc9-4f13-b5f6-052c0b01d8b9/apps"
}
}