Delete a Particular Route
DELETE /v2/routes/:guid?recursive=true
Request
Route
DELETE /v2/routes/87169a7c-ba1b-4490-a449-00302de69061?recursive=true
Parameters
Name |
Description |
Valid Values |
Example Values |
guid
|
The guid of the Route
|
|
|
async
|
Will run the delete request in a background job. Recommended: 'true'.
|
|
|
recursive: true
Headers
cURL
curl "https://api.[your-domain.com]/v2/routes/87169a7c-ba1b-4490-a449-00302de69061?recursive=true" -d '' -X DELETE \
-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEzNSIsImVtYWlsIjoiZW1haWwtOTZAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ1ODU5OTQzMX0.xHrZUjNMd1ujqHeRLWujUQjyLs4hdvBd5wlcL_Gzwx4" \
-H "Host: example.org" \
-H "Content-Type: application/x-www-form-urlencoded" \
-H "Cookie: "
Response
Status
204 No Content
Headers
Audit Records Created By The Request
Audit Record: audit.route.delete-request
Attribute Name |
Value |
id
|
175
|
guid
|
0fffb541-92f9-4b56-8509-76744fbb91d0
|
created_at
|
2016-03-14 22:30:31 UTC
|
updated_at
|
|
timestamp
|
2016-03-14 22:30:31 UTC
|
type
|
audit.route.delete-request
|
actor
|
uaa-id-135
|
actor_type
|
user
|
actee
|
87169a7c-ba1b-4490-a449-00302de69061
|
actee_type
|
route
|
metadata
|
{
"request": {
"recursive": true
}
}
|
space_id
|
|
organization_guid
|
dbca1377-8ab8-4679-bd7b-e04f0dc6ab32
|
space_guid
|
148ce02a-7678-465f-ad6d-ee776aa424e5
|
actor_name
|
email-96@somedomain.com
|
actee_name
|
host-16
|