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.eyJ1c2VyX2lkIjoidWFhLWlkLTEzMSIsImVtYWlsIjoiZW1haWwtOTNAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNDQ3MTY5MX0.-nKyrSUdX4pwO4PFPV66ts78pAkPNB_9rFueWnAXjvQ
Host: example.org
Cookie: 

Route

GET /v2/user_provided_service_instances/98812c0b-b7f3-45bd-9b8d-e938c33f25de

cURL

curl "https://api.[your-domain.com]/v2/user_provided_service_instances/98812c0b-b7f3-45bd-9b8d-e938c33f25de" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEzMSIsImVtYWlsIjoiZW1haWwtOTNAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNDQ3MTY5MX0.-nKyrSUdX4pwO4PFPV66ts78pAkPNB_9rFueWnAXjvQ" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: a948948b-d139-449d-be2b-8d97433af5c1
Content-Length: 679
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "98812c0b-b7f3-45bd-9b8d-e938c33f25de",
    "url": "/v2/user_provided_service_instances/98812c0b-b7f3-45bd-9b8d-e938c33f25de",
    "created_at": "2015-02-13T22:34:51Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-365",
    "credentials": {
      "creds-key-202": "creds-val-202"
    },
    "space_guid": "bf03a898-b37a-4047-8941-da6bf34a2dfa",
    "type": "user_provided_service_instance",
    "syslog_drain_url": "https://foo.com/url-12",
    "space_url": "/v2/spaces/bf03a898-b37a-4047-8941-da6bf34a2dfa",
    "service_bindings_url": "/v2/user_provided_service_instances/98812c0b-b7f3-45bd-9b8d-e938c33f25de/service_bindings"
  }
}