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/9021c107-1111-4aad-ab34-48d5a14b6cc9/permissions

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIyIiwiZW1haWwiOiJlbWFpbC0yMEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI2NjMzODk0fQ.Jw4cgScRVxz9nnhZ3Ir212iKQ8ZuhAkfWjCKpdh_OTE
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_instances/9021c107-1111-4aad-ab34-48d5a14b6cc9/permissions" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIyIiwiZW1haWwiOiJlbWFpbC0yMEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI2NjMzODk0fQ.Jw4cgScRVxz9nnhZ3Ir212iKQ8ZuhAkfWjCKpdh_OTE" \
	-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: 94cfa183-10a8-4277-b395-d1af9e25d5b7
Content-Length: 15
X-Content-Type-Options: nosniff