Routes Mapping API

Delete a Particular Route Mapping

DELETE /v2/route_mappings/:guid?

Request

Route

DELETE /v2/route_mappings/bfc624e5-52b1-4abc-af9b-cf88568f78ba?

Parameters

Name Description Valid Values Example Values
guid The guid of the Route Mapping
async Will run the delete request in a background job. Recommended: 'true'.
  • true
  • false

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQyNSIsImVtYWlsIjoiZW1haWwtMjg3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg5MDJ9.xcmx8-FiLiX86N9Q6PJybPHT1y8G-MV0f9sXZPXC_Wo
Host: example.org
Content-Type: application/json
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/route_mappings/bfc624e5-52b1-4abc-af9b-cf88568f78ba?" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQyNSIsImVtYWlsIjoiZW1haWwtMjg3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg5MDJ9.xcmx8-FiLiX86N9Q6PJybPHT1y8G-MV0f9sXZPXC_Wo" \
	-H "Host: example.org" \
	-H "Content-Type: application/json" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: e0044277-0399-4bc4-b7d4-a6784ffeeda8
X-Content-Type-Options: nosniff