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/e71c6a8e-a053-4ca2-a01e-22889a22c3ab/routes/e49456e0-4eec-4ea9-8e88-2d4471b7b8c6

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwOCIsImVtYWlsIjoiZW1haWwtNzdAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ2MzYxODcwOH0.09ISPZFP5HFOHFBCc0HbOXDadd_JJ5rHghYCBXjXcvM
Host: example.org
Content-Type: application/x-www-form-urlencoded
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_instances/e71c6a8e-a053-4ca2-a01e-22889a22c3ab/routes/e49456e0-4eec-4ea9-8e88-2d4471b7b8c6" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwOCIsImVtYWlsIjoiZW1haWwtNzdAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ2MzYxODcwOH0.09ISPZFP5HFOHFBCc0HbOXDadd_JJ5rHghYCBXjXcvM" \
	-H "Host: example.org" \
	-H "Content-Type: application/x-www-form-urlencoded" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: 8989304a-e8e6-4e33-a6c1-2a571ed5dd6d
X-Content-Type-Options: nosniff

Audit Records Created By The Request

Audit Record: audit.service_instance.unbind_route

Attribute Name Value
id 8
guid ac6d9485-b24a-40d4-9628-3d9b48763d12
created_at 2016-05-12 00:45:08 UTC
updated_at
timestamp 2016-05-12 00:45:08 UTC
type audit.service_instance.unbind_route
actor uaa-id-108
actor_type user
actee e71c6a8e-a053-4ca2-a01e-22889a22c3ab
actee_type service_instance
metadata
{
  "request": {
    "route_guid": "e49456e0-4eec-4ea9-8e88-2d4471b7b8c6",
    "parameters": "[PRIVATE DATA HIDDEN]"
  }
}
space_id
organization_guid 52b5eb9b-9873-42d5-8970-40a87c510566
space_guid b9733169-58ae-4443-82a5-b5cc0e316081
actor_name email-77@somedomain.com
actee_name name-209