Home
Version 3
Feature Flags API

Feature Flags API

Get the Private Domain Creation feature flag

GET /v2/config/feature_flags/private_domain_creation

When enabled, an organization manager can create private domains for that organization. When disabled, only admin users can create private domains.

Fields

Name Description Default Valid Values Example Values

Request

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEzMiIsImVtYWlsIjoiZW1haWwtMTAyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjI5OTA4NzJ9.I1Eyb0qxZKeUX0aeVt_gMVxtQ91CWw6_gUSMKXw1H7M
Host: example.org
Cookie: 

Route

GET /v2/config/feature_flags/private_domain_creation

cURL

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

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 5c1f8e90-f5fa-4264-81d4-7d0f3918567c
Content-Length: 144
X-Content-Type-Options: nosniff

Status

200 OK

Body

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