Home
Version 3
User Provided Service Instances API

User Provided Service Instances API

Remove Route from the User Provided Service Instance

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

Request

Route

DELETE /v2/user_provided_service_instances/a7409ad1-66ff-45d4-9630-c971c787be42/routes/b4b067c6-9238-48e9-86c1-0b43a460ac5c

Headers

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

cURL

curl "https://api.[your-domain.com]/v2/user_provided_service_instances/a7409ad1-66ff-45d4-9630-c971c787be42/routes/b4b067c6-9238-48e9-86c1-0b43a460ac5c" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyNSIsImVtYWlsIjoiZW1haWwtMjI3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjEzNzQ2NDB9.6GAC532Fz1yTtBOUFlIgvbaKhWh5FYrhNBxuhLCaT7w" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: afe39ee0-7c70-4aca-a95c-cde0984b64fe
X-Content-Type-Options: nosniff