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/ba7a372e-f226-4ac3-a6e4-1f6520d62879/apps/bbf31ada-ff70-4116-822f-de8dec66e290
cURL
curl "https://api.[your-domain.com]/v2/routes/ba7a372e-f226-4ac3-a6e4-1f6520d62879/apps/bbf31ada-ff70-4116-822f-de8dec66e290" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEzOSIsImVtYWlsIjoiZW1haWwtOTFAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNDEzNzM2Nn0.yeduI6JgtREMFk2r_hORd6uj9zI176eZh6yV3pNBL90" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Headers
Status
201 Created
Body
{
"metadata": {
"guid": "ba7a372e-f226-4ac3-a6e4-1f6520d62879",
"url": "/v2/routes/ba7a372e-f226-4ac3-a6e4-1f6520d62879",
"created_at": "2015-02-10T01:42:46Z",
"updated_at": null
},
"entity": {
"host": "host-7",
"domain_guid": "31b3ad02-ee8f-444f-a108-a9e96263f5a5",
"space_guid": "e7923d6d-54c2-4f56-bb2a-f6c241907d3a",
"domain_url": "/v2/domains/31b3ad02-ee8f-444f-a108-a9e96263f5a5",
"space_url": "/v2/spaces/e7923d6d-54c2-4f56-bb2a-f6c241907d3a",
"apps_url": "/v2/routes/ba7a372e-f226-4ac3-a6e4-1f6520d62879/apps"
}
}