Remove App from the Route
DELETE /v2/routes/:guid/apps/:app_guid
Request
Route
DELETE /v2/routes/f15cf138-10c3-4431-a6bf-1bf54dc1eb31/apps/1ec46135-6ac7-47bb-87c2-084c4dfa9d74
Body
Name |
Description |
Default |
Valid Values |
Example Values |
guid
|
The guid of the route.
|
|
|
|
Headers
cURL
curl "https://api.[your-domain.com]/v2/routes/f15cf138-10c3-4431-a6bf-1bf54dc1eb31/apps/1ec46135-6ac7-47bb-87c2-084c4dfa9d74" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI3MyIsImVtYWlsIjoiZW1haWwtMTk0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0Mjk2NjQxNDd9.Hh3rMCDRa0DhmUxh21G4rsRmr1m3CWKQrBZP5zZ6JI0" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
201 Created
Body
{
"metadata": {
"guid": "f15cf138-10c3-4431-a6bf-1bf54dc1eb31",
"url": "/v2/routes/f15cf138-10c3-4431-a6bf-1bf54dc1eb31",
"created_at": "2015-04-15T00:55:47Z",
"updated_at": null
},
"entity": {
"host": "host-9",
"domain_guid": "4316d1a9-9e41-45e4-bf7c-35494df4af18",
"space_guid": "74d4a4fb-32ff-4db9-a366-5fbf05d80bc1",
"domain_url": "/v2/domains/4316d1a9-9e41-45e4-bf7c-35494df4af18",
"space_url": "/v2/spaces/74d4a4fb-32ff-4db9-a366-5fbf05d80bc1",
"apps_url": "/v2/routes/f15cf138-10c3-4431-a6bf-1bf54dc1eb31/apps"
}
}
Headers