Service Instances API

Retrieving permissions on a Service Instance

GET /v2/service_instances/:guid/permissions

Request

Route

GET /v2/service_instances/6fd65993-fbd8-447c-8c04-6e4fe3ac561c/permissions

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE0OCIsImVtYWlsIjoiZW1haWwtMTAzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg4ODl9.URRvloESF3jwW6xuXi2IQ4dPFpfn8lDUK5mU33a9oBI
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_instances/6fd65993-fbd8-447c-8c04-6e4fe3ac561c/permissions" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE0OCIsImVtYWlsIjoiZW1haWwtMTAzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg4ODl9.URRvloESF3jwW6xuXi2IQ4dPFpfn8lDUK5mU33a9oBI" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "manage": true,
  "read": true
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: c0b3f70f-5f87-4157-98d5-62b6ffcd5c69
Content-Length: 15
X-Content-Type-Options: nosniff