Home
Version 3
Routes API

Routes API

Delete a Particular Route

DELETE /v2/routes/:guid?recursive=true

Request

Route

DELETE /v2/routes/68ff3f7b-82c0-4de1-8d5e-33d1f4b466d1?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'.
  • true
  • false
recursive: true

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTkyIiwiZW1haWwiOiJlbWFpbC01N0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ4MDM4OTQ2fQ.6UAPxxaHPSR8o3_nRGi1t20sa4XJ7Yb7swCIGGJEUPY
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/routes/68ff3f7b-82c0-4de1-8d5e-33d1f4b466d1?recursive=true" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTkyIiwiZW1haWwiOiJlbWFpbC01N0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDQ4MDM4OTQ2fQ.6UAPxxaHPSR8o3_nRGi1t20sa4XJ7Yb7swCIGGJEUPY" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: 
X-Content-Type-Options: nosniff