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/a18c96d4-5d1f-452e-88d4-4dbb6cfac3c1/permissions

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExIiwiZW1haWwiOiJlbWFpbC0xMUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI3NDgwODQwfQ.nVAXzKX-bmNTRlFIJHd5RUn2xAhQ_8MBm-RSOnlRcbc
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_instances/a18c96d4-5d1f-452e-88d4-4dbb6cfac3c1/permissions" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExIiwiZW1haWwiOiJlbWFpbC0xMUBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI3NDgwODQwfQ.nVAXzKX-bmNTRlFIJHd5RUn2xAhQ_8MBm-RSOnlRcbc" \
	-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: ba19d7b9-1086-4431-82ff-77e9f2a98b54
Content-Length: 15
X-Content-Type-Options: nosniff