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.eyJ1c2VyX2lkIjoidWFhLWlkLTI2NyIsImVtYWlsIjoiZW1haWwtMjA4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjI5OTA4Nzl9.sPcjRx5HBMXAQvKfcz9mpf3ayzqWrn6gKAkr8UK74lY
Host: example.org
Cookie: 

Route

GET /v2/user_provided_service_instances/618756e1-f1d0-47dc-9e20-0410b5ad5961

cURL

curl "https://api.[your-domain.com]/v2/user_provided_service_instances/618756e1-f1d0-47dc-9e20-0410b5ad5961" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI2NyIsImVtYWlsIjoiZW1haWwtMjA4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjI5OTA4Nzl9.sPcjRx5HBMXAQvKfcz9mpf3ayzqWrn6gKAkr8UK74lY" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: a00e7583-aca0-445e-8da7-4e2f9e714af0
Content-Length: 680
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "618756e1-f1d0-47dc-9e20-0410b5ad5961",
    "url": "/v2/user_provided_service_instances/618756e1-f1d0-47dc-9e20-0410b5ad5961",
    "created_at": "2015-01-27T19:14:39Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1592",
    "credentials": {
      "creds-key-462": "creds-val-462"
    },
    "space_guid": "53450277-bb7f-49c7-92f4-3afd3b4ce8fb",
    "type": "user_provided_service_instance",
    "syslog_drain_url": "https://foo.com/url-98",
    "space_url": "/v2/spaces/53450277-bb7f-49c7-92f4-3afd3b4ce8fb",
    "service_bindings_url": "/v2/user_provided_service_instances/618756e1-f1d0-47dc-9e20-0410b5ad5961/service_bindings"
  }
}