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/a82df5c4-8c34-42c6-b6dd-8a2bbe24ce67/permissions

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIyMSIsImVtYWlsIjoiZW1haWwtMTcwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzUxMDI4NTR9.9VNhZBKYCjUoROUuOqpTWzQyLQyw4MlYPWNILZ7OGX4
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/service_instances/a82df5c4-8c34-42c6-b6dd-8a2bbe24ce67/permissions" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTIyMSIsImVtYWlsIjoiZW1haWwtMTcwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzUxMDI4NTR9.9VNhZBKYCjUoROUuOqpTWzQyLQyw4MlYPWNILZ7OGX4" \
	-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: bb8bf175-1f1c-41d8-a330-ec6b2fa25ce1
Content-Length: 15
X-Content-Type-Options: nosniff