When enabled, any user can create an organization via the API. When disabled, only admin users can create organizations via the API.
GET /v2/config/feature_flags/user_org_creation
Name | Description | Default | Valid Values | Example Values |
---|
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyIiwiZW1haWwiOiJlbWFpbC0zMkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI1OTQ4NjU4fQ._NQwmai9asfMdsh0KzG2-YzckS7stA5jULTY4Lgl-LM Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/config/feature_flags/user_org_creation" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyIiwiZW1haWwiOiJlbWFpbC0zMkBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI1OTQ4NjU4fQ._NQwmai9asfMdsh0KzG2-YzckS7stA5jULTY4Lgl-LM" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "name": "user_org_creation", "enabled": false, "error_message": null, "url": "/v2/config/feature_flags/user_org_creation" }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 2fc5e1b8-7b21-472c-96a8-f4ae62173f65 Content-Length: 133 X-Content-Type-Options: nosniff