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/648e3e34-9076-4b0d-8726-13d1014673d5/routes/c48b7f41-ccb9-49f9-97a6-bfc1520af53f

Body

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

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTc2IiwiZW1haWwiOiJlbWFpbC00M0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDUzMzEwOTcyfQ.G9sHmhYBOiwZrFHorZQXiuxDOsIvDTVi5Brc9024Wi4
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/user_provided_service_instances/648e3e34-9076-4b0d-8726-13d1014673d5/routes/c48b7f41-ccb9-49f9-97a6-bfc1520af53f" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTc2IiwiZW1haWwiOiJlbWFpbC00M0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDUzMzEwOTcyfQ.G9sHmhYBOiwZrFHorZQXiuxDOsIvDTVi5Brc9024Wi4" \
	-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