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/8fe97ac9-d53a-4858-b6a4-53c20f1fe409/routes/3bbd74b5-516d-409e-a107-19eaf9b2da18

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE1NyIsImVtYWlsIjoiZW1haWwtMTEyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg4OTB9.58d3acc0xwwhhpg9i3x4PQRxMvQOKRWMre1azcHE5RE
Host: example.org
Content-Type: application/json
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_instances/8fe97ac9-d53a-4858-b6a4-53c20f1fe409/routes/3bbd74b5-516d-409e-a107-19eaf9b2da18" -d '' -X DELETE \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE1NyIsImVtYWlsIjoiZW1haWwtMTEyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg4OTB9.58d3acc0xwwhhpg9i3x4PQRxMvQOKRWMre1azcHE5RE" \
	-H "Host: example.org" \
	-H "Content-Type: application/json" \
	-H "Cookie: "

Response

Status

204 No Content

Headers

X-VCAP-Request-ID: 464433c8-3b19-4de7-a221-59923c2e67d9
X-Content-Type-Options: nosniff

Audit Records Created By The Request

Audit Record: audit.service_instance.unbind_route

Attribute Name Value
id 196
guid 79cb06d7-f80e-42d5-931e-d868e1e2120b
created_at 2016-06-08 16:41:30 UTC
updated_at
timestamp 2016-06-08 16:41:30 UTC
type audit.service_instance.unbind_route
actor uaa-id-157
actor_type user
actee 8fe97ac9-d53a-4858-b6a4-53c20f1fe409
actee_type service_instance
metadata
{
  "request": {
    "route_guid": "3bbd74b5-516d-409e-a107-19eaf9b2da18",
    "parameters": "[PRIVATE DATA HIDDEN]"
  }
}
space_id
organization_guid 2cfe4dec-41c8-45cf-ac4b-eec597eb40fd
space_guid 6d821ec3-f3d2-4d5c-ab6a-4b8e7fc6cd8a
actor_name [email protected]
actee_name name-1554