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.eyJ1c2VyX2lkIjoidWFhLWlkLTI5MiIsImVtYWlsIjoiZW1haWwtMTk1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQxMzczNzN9.D86M44ddkA3L1pnc3pOs6s7b1H68Eb_cFahP0OVlK_o
Host: example.org
Cookie: 

Route

GET /v2/user_provided_service_instances/13ffbc59-c69e-4503-baaf-b270ed0a38e3

cURL

curl "https://api.[your-domain.com]/v2/user_provided_service_instances/13ffbc59-c69e-4503-baaf-b270ed0a38e3" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI5MiIsImVtYWlsIjoiZW1haWwtMTk1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQxMzczNzN9.D86M44ddkA3L1pnc3pOs6s7b1H68Eb_cFahP0OVlK_o" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 9d69e0d7-43ff-49a3-820f-72243ccba02a
Content-Length: 680
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "13ffbc59-c69e-4503-baaf-b270ed0a38e3",
    "url": "/v2/user_provided_service_instances/13ffbc59-c69e-4503-baaf-b270ed0a38e3",
    "created_at": "2015-02-10T01:42:53Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1417",
    "credentials": {
      "creds-key-411": "creds-val-411"
    },
    "space_guid": "ebbb9251-96a0-47cd-b18c-b00c80c6ca13",
    "type": "user_provided_service_instance",
    "syslog_drain_url": "https://foo.com/url-45",
    "space_url": "/v2/spaces/ebbb9251-96a0-47cd-b18c-b00c80c6ca13",
    "service_bindings_url": "/v2/user_provided_service_instances/13ffbc59-c69e-4503-baaf-b270ed0a38e3/service_bindings"
  }
}