Feature Flags API

Get the Space Scoped Private Broker Creation feature flag (experimental)

GET /v2/config/feature_flags/space_scoped_private_broker_creation

When enabled, space developers can create space scoped private brokers. When disabled, only admin users can create create space scoped private brokers.

Request

Route

GET /v2/config/feature_flags/space_scoped_private_broker_creation

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM1NCIsImVtYWlsIjoiZW1haWwtMjQ5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg5MDB9.ULRENS_LzVL59n9PSfKfSlwAJoWnQDM2IocIwaY77Ts
Host: example.org
Cookie: 

cURL

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

Response

Status

200 OK

Body

{
  "name": "space_scoped_private_broker_creation",
  "enabled": true,
  "error_message": null,
  "url": "/v2/config/feature_flags/space_scoped_private_broker_creation"
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 7362bdc9-4ce1-4148-b954-4021b3a61df4
Content-Length: 170
X-Content-Type-Options: nosniff