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/6f5da6db-3f3a-4d08-ac2c-c2af33629935/apps/66baba41-b37b-410a-b0ae-328811a51b9b
cURL
curl "https://api.[your-domain.com]/v2/routes/6f5da6db-3f3a-4d08-ac2c-c2af33629935/apps/66baba41-b37b-410a-b0ae-328811a51b9b" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEzMSIsImVtYWlsIjoiZW1haWwtMTAyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQzMTAxMjZ9.QhpVfTkUe7krfH193lTit-9mP-d1BxIzOGSehuHhcw4" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Headers
Status
201 Created
Body
{
"metadata": {
"guid": "6f5da6db-3f3a-4d08-ac2c-c2af33629935",
"url": "/v2/routes/6f5da6db-3f3a-4d08-ac2c-c2af33629935",
"created_at": "2015-02-12T01:42:06Z",
"updated_at": null
},
"entity": {
"host": "host-5",
"domain_guid": "0b9e48e2-6d50-48d1-8e7d-425d90a576e7",
"space_guid": "c924f685-ed9c-4d35-bf1a-e21b46f5a1b0",
"domain_url": "/v2/domains/0b9e48e2-6d50-48d1-8e7d-425d90a576e7",
"space_url": "/v2/spaces/c924f685-ed9c-4d35-bf1a-e21b46f5a1b0",
"apps_url": "/v2/routes/6f5da6db-3f3a-4d08-ac2c-c2af33629935/apps"
}
}