Home
Version 3
Feature Flags API

Feature Flags API

Get all feature flags

GET /v2/config/feature_flags

Fields

Name Description Default Valid Values Example Values

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTY0IiwiZW1haWwiOiJlbWFpbC01N0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE3NDYyMzU0fQ.LWeFJ-n-pshese-j89CiVimFWRBowqlWnYv5uLy1SQg
Host: example.org
Cookie: 

Route

GET /v2/config/feature_flags

cURL

curl "https://api.[your-domain.com]/v2/config/feature_flags" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTY0IiwiZW1haWwiOiJlbWFpbC01N0Bzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDE3NDYyMzU0fQ.LWeFJ-n-pshese-j89CiVimFWRBowqlWnYv5uLy1SQg" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: b70fdbe3-3389-4bf5-b8da-b208362c266e
Content-Length: 890
X-Content-Type-Options: nosniff

Status

200 OK

Body

[
  {
    "name": "user_org_creation",
    "enabled": false,
    "error_message": null,
    "url": "/v2/config/feature_flags/user_org_creation"
  },
  {
    "name": "private_domain_creation",
    "enabled": false,
    "error_message": "foobar",
    "url": "/v2/config/feature_flags/private_domain_creation"
  },
  {
    "name": "app_bits_upload",
    "enabled": true,
    "error_message": null,
    "url": "/v2/config/feature_flags/app_bits_upload"
  },
  {
    "name": "app_scaling",
    "enabled": true,
    "error_message": null,
    "url": "/v2/config/feature_flags/app_scaling"
  },
  {
    "name": "route_creation",
    "enabled": true,
    "error_message": null,
    "url": "/v2/config/feature_flags/route_creation"
  },
  {
    "name": "service_instance_creation",
    "enabled": true,
    "error_message": null,
    "url": "/v2/config/feature_flags/service_instance_creation"
  }
]