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/3ffb3740-7083-4d9d-a2df-266da9a51b59/routes/556af90f-7b61-4570-8da0-ac73f3ad8a5e

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEyMCIsImVtYWlsIjoiZW1haWwtODlAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ2MDUwNjY0Mn0.FXHOqFl8ngGz_J6Qsl-BfmhkUpotoQLyMGx04teT0c4
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_instances/3ffb3740-7083-4d9d-a2df-266da9a51b59/routes/556af90f-7b61-4570-8da0-ac73f3ad8a5e" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEyMCIsImVtYWlsIjoiZW1haWwtODlAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ2MDUwNjY0Mn0.FXHOqFl8ngGz_J6Qsl-BfmhkUpotoQLyMGx04teT0c4" \
	-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