Home
Version 3
Service Brokers API

Service Brokers API

Retrieve a Particular Service Broker

GET /v2/service_brokers/:guid

Request

Route

GET /v2/service_brokers/5351d95b-52ea-486e-abc5-66639c730a8b

Parameters

Name Description Valid Values Example Values
guid The guid of the Service Broker

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwNyIsImVtYWlsIjoiZW1haWwtNzhAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNjE4Nzc0Mn0.jvyIoJ_1vKKT5mszTzlx9hwBjczkhQ-qpEOVPet9Qjc
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_brokers/5351d95b-52ea-486e-abc5-66639c730a8b" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEwNyIsImVtYWlsIjoiZW1haWwtNzhAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNjE4Nzc0Mn0.jvyIoJ_1vKKT5mszTzlx9hwBjczkhQ-qpEOVPet9Qjc" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "5351d95b-52ea-486e-abc5-66639c730a8b",
    "url": "/v2/service_brokers/5351d95b-52ea-486e-abc5-66639c730a8b",
    "created_at": "2015-03-05T19:15:42Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-416",
    "broker_url": "https://foo.com/url-32",
    "auth_username": "auth_username-23"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 569313f2-5f75-4780-a20c-87b7ffdbb86e
Content-Length: 338
X-Content-Type-Options: nosniff