Home
Version 3
Service Instances API

Service Instances API

Unbinding a service instance from a route

DELETE /v2/service_instances/:service_instance_guid/routes/:route_guid

Request

Route

DELETE /v2/service_instances/041c30b8-dbf4-45e8-82f3-ce5fef2ea61c/routes/9dfdaa5d-f080-45b2-a938-71ac825b5a6d

Headers

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

cURL

curl "https://api.[your-domain.com]/v2/service_instances/041c30b8-dbf4-45e8-82f3-ce5fef2ea61c/routes/9dfdaa5d-f080-45b2-a938-71ac825b5a6d" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE4MCIsImVtYWlsIjoiZW1haWwtMTE5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTg4NTU2NzN9.N7V8q66N9fpyWWUwGxghfZJMQWgiMf0utwAxOgTwzHw" \
	-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