Home
Version 3
Service Instances API

Service Instances API

Retrieving permissions on a Service Instance

GET /v2/service_instances/:guid/permissions

Request

Route

GET /v2/service_instances/828207de-1bb5-4ee4-843a-77076b9086c9/permissions

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTgiLCJlbWFpbCI6ImVtYWlsLThAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNjE4NzczNH0.EhIE7Ts5NK9pfuMi3htDQgjk9aSVEdvOw1RxwDTF_38
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_instances/828207de-1bb5-4ee4-843a-77076b9086c9/permissions" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTgiLCJlbWFpbCI6ImVtYWlsLThAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQyNjE4NzczNH0.EhIE7Ts5NK9pfuMi3htDQgjk9aSVEdvOw1RxwDTF_38" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{"manage":true}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 5a50983d-26b5-48b5-b66c-fb128c26858c
Content-Length: 15
X-Content-Type-Options: nosniff