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.eyJ1c2VyX2lkIjoidWFhLWlkLTIzMyIsImVtYWlsIjoiZW1haWwtMTg0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTk5ODk5NzV9.IAVgr3-QtbxnlURm3cclgHh02Thg4rDkLBiFOJskusA
Host: example.org
Cookie: 

Route

GET /v2/service_instances/91275c04-f232-4b8f-b69e-931e88501379

cURL

curl "https://api.[your-domain.com]/v2/service_instances/91275c04-f232-4b8f-b69e-931e88501379" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIzMyIsImVtYWlsIjoiZW1haWwtMTg0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTk5ODk5NzV9.IAVgr3-QtbxnlURm3cclgHh02Thg4rDkLBiFOJskusA" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 746a7415-6438-40ec-b4e2-c8a978fe917a
Content-Length: 801
X-Content-Type-Options: nosniff

Status

200 OK

Body

{
  "metadata": {
    "guid": "91275c04-f232-4b8f-b69e-931e88501379",
    "url": "/v2/service_instances/91275c04-f232-4b8f-b69e-931e88501379",
    "created_at": "2014-12-24T01:39:35+00:00",
    "updated_at": null
  },
  "entity": {
    "name": "name-1629",
    "credentials": {
      "creds-key-415": "creds-val-415"
    },
    "service_plan_guid": "67c6abda-34ec-4f52-9386-6bd0d09d64e4",
    "space_guid": "88224566-7960-4a29-bb31-6873cebc51b6",
    "gateway_data": null,
    "dashboard_url": null,
    "type": "managed_service_instance",
    "space_url": "/v2/spaces/88224566-7960-4a29-bb31-6873cebc51b6",
    "service_plan_url": "/v2/service_plans/67c6abda-34ec-4f52-9386-6bd0d09d64e4",
    "service_bindings_url": "/v2/service_instances/91275c04-f232-4b8f-b69e-931e88501379/service_bindings"
  }
}