Remove App from the Route
DELETE /v2/routes/:guid/apps/:app_guid
Request
Route
DELETE /v2/routes/c27bc58e-5432-46a5-b80a-f65de097ee69/apps/57d4535a-6c1b-473e-9a8a-4bcec44f1b15
Body
Name |
Description |
Default |
Valid Values |
Example Values |
guid
|
The guid of the route.
|
|
|
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/routes/c27bc58e-5432-46a5-b80a-f65de097ee69/apps/57d4535a-6c1b-473e-9a8a-4bcec44f1b15" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI4MSIsImVtYWlsIjoiZW1haWwtMTk4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzM5ODExMTN9.fQQGGvY8dUf6v4BV7NPL3a4atji6ARmN5VTpIEL5Iy8" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "c27bc58e-5432-46a5-b80a-f65de097ee69",
"url": "/v2/routes/c27bc58e-5432-46a5-b80a-f65de097ee69",
"created_at": "2015-06-04T00:05:13Z",
"updated_at": null
},
"entity": {
"host": "host-11",
"path": "",
"domain_guid": "ebe4d1f1-9972-4587-b731-458d78d48e37",
"space_guid": "3402a98c-43ad-4c17-8c6e-c75bb2460b9e",
"domain_url": "/v2/domains/ebe4d1f1-9972-4587-b731-458d78d48e37",
"space_url": "/v2/spaces/3402a98c-43ad-4c17-8c6e-c75bb2460b9e",
"apps_url": "/v2/routes/c27bc58e-5432-46a5-b80a-f65de097ee69/apps"
}
}
Headers