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.eyJ1c2VyX2lkIjoidWFhLWlkLTI2IiwiZW1haWwiOiJlbWFpbC0yNkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDM5NDI2MTkyfQ.bXwGem6LyOYIsiHjj32VFikfFkHlstJ2LuFt_JlDyDE Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/config/feature_flags/private_domain_creation" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI2IiwiZW1haWwiOiJlbWFpbC0yNkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDM5NDI2MTkyfQ.bXwGem6LyOYIsiHjj32VFikfFkHlstJ2LuFt_JlDyDE" \ -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: bfa10d65-86bb-4d7b-b1b0-31769de308ff Content-Length: 144 X-Content-Type-Options: nosniff