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/e5dad161-1da8-4919-817d-de4043e1fa6f/routes/bcc85113-c73d-4d21-8991-a36b52fce971

Body

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

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM4NCIsImVtYWlsIjoiZW1haWwtMjUzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDgwMzg5Njd9.pttYjeSZHom9-ceBmcbA1AAu8q9mhZw3pTeo2XhwZXs
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_instances/e5dad161-1da8-4919-817d-de4043e1fa6f/routes/bcc85113-c73d-4d21-8991-a36b52fce971" -d '{}' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM4NCIsImVtYWlsIjoiZW1haWwtMjUzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDgwMzg5Njd9.pttYjeSZHom9-ceBmcbA1AAu8q9mhZw3pTeo2XhwZXs" \
	-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