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

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: f1321f04-598d-41a9-8ff4-ecc210115e15
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"
}