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

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTk5IiwiZW1haWwiOiJlbWFpbC02OEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDYxOTU4Mzk0fQ.56FBV3JepU1PYUd9gD75bt3EPB-zIEA27EhSj31y1ds
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/config/feature_flags/service_instance_creation" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTk5IiwiZW1haWwiOiJlbWFpbC02OEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDYxOTU4Mzk0fQ.56FBV3JepU1PYUd9gD75bt3EPB-zIEA27EhSj31y1ds" \
	-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: 93aeb89c-c3ee-4b9a-9192-c19c957459d2
Content-Length: 148
X-Content-Type-Options: nosniff