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/03e5cfed-038b-4fe2-9a9a-6c989bd83ee9/routes/f99acd4b-27a3-4c71-8437-1bf4ad8e847a

Body

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

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0NyIsImVtYWlsIjoiZW1haWwtMjE2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDgwMzg5NjN9.E9e-PsuyWcPn5sujK3lPOqjYZDzW-qCy3SkfBhaqWB8
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/user_provided_service_instances/03e5cfed-038b-4fe2-9a9a-6c989bd83ee9/routes/f99acd4b-27a3-4c71-8437-1bf4ad8e847a" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0NyIsImVtYWlsIjoiZW1haWwtMjE2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDgwMzg5NjN9.E9e-PsuyWcPn5sujK3lPOqjYZDzW-qCy3SkfBhaqWB8" \
	-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