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
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1MCIsImVtYWlsIjoiZW1haWwtMTY4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzY4Mjk3OTB9.7fVJ3uv014fjrmy0XNwEThNPJ6phit6hlI2cYUvgxA8 Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/config/feature_flags/user_org_creation" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI1MCIsImVtYWlsIjoiZW1haWwtMTY4QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzY4Mjk3OTB9.7fVJ3uv014fjrmy0XNwEThNPJ6phit6hlI2cYUvgxA8" \ -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: 663f0848-1921-40d6-9f80-919f767d6d0b Content-Length: 133 X-Content-Type-Options: nosniff