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.eyJ1c2VyX2lkIjoidWFhLWlkLTM0NiIsImVtYWlsIjoiZW1haWwtMjQ5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTk5ODk5Nzh9.yQSZ4Zmanc3Kwp_KWGVTPY7ayo8lcqkxXYkxKjFxImM
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.eyJ1c2VyX2lkIjoidWFhLWlkLTM0NiIsImVtYWlsIjoiZW1haWwtMjQ5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTk5ODk5Nzh9.yQSZ4Zmanc3Kwp_KWGVTPY7ayo8lcqkxXYkxKjFxImM" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 287aafe6-6b2f-41b2-8fbc-f985798ce777
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"
}