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.eyJ1c2VyX2lkIjoidWFhLWlkLTE2NyIsImVtYWlsIjoiZW1haWwtMTE5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQxMzczNjh9.4KIhymsLXUCze4rra72djgasAiF-PtutTH5cNtjp0Sg
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.eyJ1c2VyX2lkIjoidWFhLWlkLTE2NyIsImVtYWlsIjoiZW1haWwtMTE5QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjQxMzczNjh9.4KIhymsLXUCze4rra72djgasAiF-PtutTH5cNtjp0Sg" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: a1476bd7-cadd-4b4d-8ffb-2923e8b21b67
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"
}