Remove App from the Route
DELETE /v2/routes/:guid/apps/:app_guid
Request
Route
DELETE /v2/routes/add79205-6634-4f21-8e72-28092a0b5e16/apps/a76f0c2a-d2cf-4604-b64d-e418ac00569b
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/add79205-6634-4f21-8e72-28092a0b5e16/apps/a76f0c2a-d2cf-4604-b64d-e418ac00569b" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM5NiIsImVtYWlsIjoiZW1haWwtMjY0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQ3ODI5NDN9.Mwr2sUqZggqaNW8DXYEvdPMXXWKNihSE0qZ_ejUsllI" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "add79205-6634-4f21-8e72-28092a0b5e16",
"url": "/v2/routes/add79205-6634-4f21-8e72-28092a0b5e16",
"created_at": "2015-10-07T00:35:43Z",
"updated_at": null
},
"entity": {
"host": "host-21",
"path": "",
"domain_guid": "8657afdb-3f95-44af-b4d0-241a09e1eb43",
"space_guid": "6772556a-da7e-4e9c-9607-bb6c8d7ec8fb",
"service_instance_guid": null,
"domain_url": "/v2/domains/8657afdb-3f95-44af-b4d0-241a09e1eb43",
"space_url": "/v2/spaces/6772556a-da7e-4e9c-9607-bb6c8d7ec8fb",
"apps_url": "/v2/routes/add79205-6634-4f21-8e72-28092a0b5e16/apps"
}
}
Headers