Home
Version 3
User Provided Service Instances API

User Provided Service Instances API

Remove Route from the User Provided Service Instance (experimental)

DELETE /v2/user_provided_service_instance/:guid/routes/:route_guid

Request

Route

DELETE /v2/user_provided_service_instances/6a3d5497-56b5-4380-bc6b-c4bb00e6fcb1/routes/ae75e099-567b-4e6b-be3b-f83d877eebec

Body

Name Description Default Valid Values Example Values
route_guid The guid of the route

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE2MiIsImVtYWlsIjoiZW1haWwtMTAwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTE0MTM2ODN9.ydw7GhV29JhptBQeO2LTwieV9sdG1JGCqR0PQ6dG-Qc
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/user_provided_service_instances/6a3d5497-56b5-4380-bc6b-c4bb00e6fcb1/routes/ae75e099-567b-4e6b-be3b-f83d877eebec" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE2MiIsImVtYWlsIjoiZW1haWwtMTAwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTE0MTM2ODN9.ydw7GhV29JhptBQeO2LTwieV9sdG1JGCqR0PQ6dG-Qc" \
	-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