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

Request

Route

GET /v2/user_provided_service_instances/0a040fbe-1790-447a-882b-33c521b58ef0

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE5IiwiZW1haWwiOiJlbWFpbC0xOUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDMyNzc0OTc4fQ.c627g1udJqPMOlBwAmV7JzfYEQbkZcjpaiqFOqmsXHw
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/user_provided_service_instances/0a040fbe-1790-447a-882b-33c521b58ef0" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE5IiwiZW1haWwiOiJlbWFpbC0xOUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDMyNzc0OTc4fQ.c627g1udJqPMOlBwAmV7JzfYEQbkZcjpaiqFOqmsXHw" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "metadata": {
    "guid": "0a040fbe-1790-447a-882b-33c521b58ef0",
    "url": "/v2/user_provided_service_instances/0a040fbe-1790-447a-882b-33c521b58ef0",
    "created_at": "2015-05-21T01:02:58Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-84",
    "credentials": {
      "creds-key-43": "creds-val-43"
    },
    "space_guid": "62bcba2a-43ef-4a44-9696-bbdaed99a05e",
    "type": "user_provided_service_instance",
    "syslog_drain_url": "https://foo.com/url-11",
    "space_url": "/v2/spaces/62bcba2a-43ef-4a44-9696-bbdaed99a05e",
    "service_bindings_url": "/v2/user_provided_service_instances/0a040fbe-1790-447a-882b-33c521b58ef0/service_bindings"
  }
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: bc5f8667-119a-46cc-83b4-2447dca6cf08
Content-Length: 676
X-Content-Type-Options: nosniff