When enabled, an organization manager can create private domains for that organization. When disabled, only admin users can create private domains.
GET /v2/config/feature_flags/private_domain_creation
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE4MCIsImVtYWlsIjoiZW1haWwtMTI2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDE2NjI2MDN9.Jns-OXaP5DXg2ncQFPBsEW0qwYOLg6T0bX1G4qRgViE Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/config/feature_flags/private_domain_creation" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE4MCIsImVtYWlsIjoiZW1haWwtMTI2QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NDE2NjI2MDN9.Jns-OXaP5DXg2ncQFPBsEW0qwYOLg6T0bX1G4qRgViE" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "name": "private_domain_creation", "enabled": true, "error_message": null, "url": "/v2/config/feature_flags/private_domain_creation" }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 41977551-e9f9-418d-832d-9c4ad480d103 Content-Length: 144 X-Content-Type-Options: nosniff