Home
Version 3
Service Instances API

Service Instances API

Unbinding a service instance from a route (experimental)

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

Request

Route

DELETE /v2/service_instances/596d0fb0-695b-43ed-9c0d-ca242dc4fcc2/routes/107a52f0-2ec2-47ef-9028-4698381a1d47

Body

Name Description Default Valid Values Example Values
guid The guid of the Service Instance.
{}

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQxNyIsImVtYWlsIjoiZW1haWwtMjg1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQyNjA2NjF9.oZGd_DkWkpC36HVyT9_rOQQ4vYoNk1iQY-Qez5p9H50
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_instances/596d0fb0-695b-43ed-9c0d-ca242dc4fcc2/routes/107a52f0-2ec2-47ef-9028-4698381a1d47" -d '{}' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQxNyIsImVtYWlsIjoiZW1haWwtMjg1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQyNjA2NjF9.oZGd_DkWkpC36HVyT9_rOQQ4vYoNk1iQY-Qez5p9H50" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: bdb10136-e139-4ead-8f99-a38178354f0f
X-Content-Type-Options: nosniff