Home
Version 3
Feature Flags API

Feature Flags API

Get the Service Instance Creation feature flag

GET /v2/config/feature_flags/service_instance_creation

When enabled, a space developer can create service instances in a space. When disabled, only admin users can create service instances.

Request

Route

GET /v2/config/feature_flags/service_instance_creation

Body

Name Description Default Valid Values Example Values

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExMSIsImVtYWlsIjoiZW1haWwtOTBAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQzMjc3NDk4M30.IE2KaQEkogEcsG4dSK4-pMIC6QOQ46xMskiP4LHtnV8
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/config/feature_flags/service_instance_creation" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTExMSIsImVtYWlsIjoiZW1haWwtOTBAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQzMjc3NDk4M30.IE2KaQEkogEcsG4dSK4-pMIC6QOQ46xMskiP4LHtnV8" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

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

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: dbf72924-6fee-4a6f-8cc3-af61bcb36db4
Content-Length: 148
X-Content-Type-Options: nosniff