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/20f93aca-0564-4d50-aabf-d24e81729546/permissions

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQwNyIsImVtYWlsIjoiZW1haWwtMjc1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQyNjA2NTl9.mHWyTxeH_EIa3qMQN9n2CLwGb_QBjgc4hmtW96A72tg
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_instances/20f93aca-0564-4d50-aabf-d24e81729546/permissions" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTQwNyIsImVtYWlsIjoiZW1haWwtMjc1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDQyNjA2NTl9.mHWyTxeH_EIa3qMQN9n2CLwGb_QBjgc4hmtW96A72tg" \
	-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: 6de154f8-55d8-483f-bca7-9914647d4b9c
Content-Length: 15
X-Content-Type-Options: nosniff