Home
Version 3
Service Instances API

Service Instances API

Retrieve a Particular Service Instance

GET /v2/service_instances/:guid

Fields

Name Description Default Valid Values Example Values

Parameters

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

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIxNCIsImVtYWlsIjoiZW1haWwtMTQ2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQ0NzE2OTZ9.aYL4zUFf2krUbsb7ylGgW4lfOfN3gEUYsiz7PwsvecE
Host: example.org
Cookie: 

Route

GET /v2/service_instances/f118c1da-627c-4cca-9a13-52ca960e5492

cURL

curl "https://api.[your-domain.com]/v2/service_instances/f118c1da-627c-4cca-9a13-52ca960e5492" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIxNCIsImVtYWlsIjoiZW1haWwtMTQ2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQ0NzE2OTZ9.aYL4zUFf2krUbsb7ylGgW4lfOfN3gEUYsiz7PwsvecE" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 41f90dfc-a6df-4bd3-a786-537b6405e097
Content-Length: 824
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "f118c1da-627c-4cca-9a13-52ca960e5492",
    "url": "/v2/service_instances/f118c1da-627c-4cca-9a13-52ca960e5492",
    "created_at": "2015-02-13T22:34:56Z",
    "updated_at": null
  },
  "entity": {
    "name": "name-1299",
    "credentials": {
      "creds-key-325": "creds-val-325"
    },
    "service_plan_guid": "e9dfeaf6-a5d2-4fe6-8b9e-5f62e740dbd6",
    "space_guid": "ef927fd4-e2b9-41b0-9ef3-3d7056e519c7",
    "gateway_data": null,
    "dashboard_url": null,
    "type": "managed_service_instance",
    "last_operation": null,
    "space_url": "/v2/spaces/ef927fd4-e2b9-41b0-9ef3-3d7056e519c7",
    "service_plan_url": "/v2/service_plans/e9dfeaf6-a5d2-4fe6-8b9e-5f62e740dbd6",
    "service_bindings_url": "/v2/service_instances/f118c1da-627c-4cca-9a13-52ca960e5492/service_bindings"
  }
}