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/fa50dc3a-795a-4e68-ada1-cae3c6dca420

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.eyJ1c2VyX2lkIjoidWFhLWlkLTMwMyIsImVtYWlsIjoiZW1haWwtMjA1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjU5NDg2NzF9.cgCLLdytFsP1Yj03tgIGK5w78OwIT4XxJCDavHlOQxY
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_brokers/fa50dc3a-795a-4e68-ada1-cae3c6dca420" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMwMyIsImVtYWlsIjoiZW1haWwtMjA1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjU5NDg2NzF9.cgCLLdytFsP1Yj03tgIGK5w78OwIT4XxJCDavHlOQxY" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "fa50dc3a-795a-4e68-ada1-cae3c6dca420",
    "url": "/v2/service_brokers/fa50dc3a-795a-4e68-ada1-cae3c6dca420",
    "created_at": "2015-03-03T00:51:11Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1549",
    "broker_url": "https://foo.com/url-65",
    "auth_username": "auth_username-32"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: b937833d-52ae-422e-a2f4-b2df9220befa
Content-Length: 339
X-Content-Type-Options: nosniff