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.

Request

Route

GET /v2/config/feature_flags/private_domain_creation

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0NyIsImVtYWlsIjoiZW1haWwtMjQyQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg5MDB9.3UMm7S4sPCyUVVOm0SlF3s8D331SfUKHBpJvQj_4sy0
Host: example.org
Cookie: 

cURL

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

Response

Status

200 OK

Body

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

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: d4f6f698-e8ea-4245-b993-e4c13512490e
Content-Length: 144
X-Content-Type-Options: nosniff