Home
Version 3
User Provided Service Instances API

User Provided Service Instances API

Retrieve a Particular User Provided Service Instance

GET /v2/user_provided_service_instances/:guid

Fields

Name Description Default Valid Values Example Values

Parameters

Name Description Valid Values Example Values
guid The guid of the User Provided Service Instance

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExNiIsImVtYWlsIjoiZW1haWwtODZAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyMjMyMzUzN30.W2hPckteT0rt7fsH9UnUmmeY9ecUyFze5gjDN-XLFYo
Host: example.org
Cookie: 

Route

GET /v2/user_provided_service_instances/d6a559a2-5768-4d05-865a-0cef44cd6877

cURL

curl "https://api.[your-domain.com]/v2/user_provided_service_instances/d6a559a2-5768-4d05-865a-0cef44cd6877" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExNiIsImVtYWlsIjoiZW1haWwtODZAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyMjMyMzUzN30.W2hPckteT0rt7fsH9UnUmmeY9ecUyFze5gjDN-XLFYo" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: ddac4e9b-ab04-42a3-95b7-4db224cef2ff
Content-Length: 684
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "d6a559a2-5768-4d05-865a-0cef44cd6877",
    "url": "/v2/user_provided_service_instances/d6a559a2-5768-4d05-865a-0cef44cd6877",
    "created_at": "2015-01-20T01:52:17+00:00",
    "updated_at": null
  },
  "entity": {
    "name": "name-455",
    "credentials": {
      "creds-key-185": "creds-val-185"
    },
    "space_guid": "d0321f52-2cf0-4b07-984d-0046e58249be",
    "type": "user_provided_service_instance",
    "syslog_drain_url": "https://foo.com/url-27",
    "space_url": "/v2/spaces/d0321f52-2cf0-4b07-984d-0046e58249be",
    "service_bindings_url": "/v2/user_provided_service_instances/d6a559a2-5768-4d05-865a-0cef44cd6877/service_bindings"
  }
}