Feature Flags API

Get the Service Instance Sharing feature flag

GET /v2/config/feature_flags/service_instance_sharing

When enabled, Space Developers can share service instances between two spaces (even across orgs!) in which they have the Space Developer role. When disabled, Space Developers cannot share service instances between two spaces.

Request

Route

GET /v2/config/feature_flags/service_instance_sharing

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM1MSIsImVtYWlsIjoiZW1haWwtMjQ2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg5MDB9.YHNOcDQw3E33q7UxQNnJnxmRyc9X1rZ6tODKbEIGwTQ
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/config/feature_flags/service_instance_sharing" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM1MSIsImVtYWlsIjoiZW1haWwtMjQ2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg5MDB9.YHNOcDQw3E33q7UxQNnJnxmRyc9X1rZ6tODKbEIGwTQ" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "name": "service_instance_sharing",
  "enabled": false,
  "error_message": null,
  "url": "/v2/config/feature_flags/service_instance_sharing"
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: d1842866-a6a1-40fd-b1a5-7d74c9f2e5f6
Content-Length: 148
X-Content-Type-Options: nosniff