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.eyJ1c2VyX2lkIjoidWFhLWlkLTM0MyIsImVtYWlsIjoiZW1haWwtMjQ2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTk5ODk5Nzh9.Xz-9koVTc6ddIT_6YePX5sTWwa-dCdghSz7je1Hba10
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.eyJ1c2VyX2lkIjoidWFhLWlkLTM0MyIsImVtYWlsIjoiZW1haWwtMjQ2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTk5ODk5Nzh9.Xz-9koVTc6ddIT_6YePX5sTWwa-dCdghSz7je1Hba10" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 9fd20c73-2540-44c1-87fe-2cab3e2943c3
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"
  }
]