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/7a950395-5f89-4792-976a-dccadc4003e3/permissions

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTU2IiwiZW1haWwiOiJlbWFpbC0zNkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDM4NjQxNzg5fQ.ObbZuUSSASm84nVCqWpVg2npSGwRtOqf8iFbpKspimo
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_instances/7a950395-5f89-4792-976a-dccadc4003e3/permissions" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTU2IiwiZW1haWwiOiJlbWFpbC0zNkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDM4NjQxNzg5fQ.ObbZuUSSASm84nVCqWpVg2npSGwRtOqf8iFbpKspimo" \
	-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: 3210195b-c35a-4f1b-bcb7-a98b8da65ab1
Content-Length: 15
X-Content-Type-Options: nosniff