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/8c99f652-7495-4e9a-8ba7-1b372b0b6314/routes/07df31b6-e2ce-4c34-acc3-3d03defc9d8a

Body

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

Headers

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

cURL

curl "https://api.[your-domain.com]/v2/service_instances/8c99f652-7495-4e9a-8ba7-1b372b0b6314/routes/07df31b6-e2ce-4c34-acc3-3d03defc9d8a" -d '{}' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI4NiIsImVtYWlsIjoiZW1haWwtMTg5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDU1NTc5NTZ9.y3HNxJmU6yRB6V3OyHmnpRHoPmxm3WwvJTvTUbTg54Y" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: fb3557c8-0be2-4a20-a818-bcfadf8049eb
X-Content-Type-Options: nosniff