When enabled, a space developer can create routes in a space. When disabled, only admin users can create routes.
GET /v2/config/feature_flags/route_creation
Name | Description | Default | Valid Values | Example Values |
---|
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI4IiwiZW1haWwiOiJlbWFpbC0yOEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI1OTQ4NjU4fQ.4Vo02_5QRDdHucyUy5AU6xTSMKr0xJLIxLrZBtaocPw Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/config/feature_flags/route_creation" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI4IiwiZW1haWwiOiJlbWFpbC0yOEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDI1OTQ4NjU4fQ.4Vo02_5QRDdHucyUy5AU6xTSMKr0xJLIxLrZBtaocPw" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "name": "route_creation", "enabled": true, "error_message": null, "url": "/v2/config/feature_flags/route_creation" }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: d5693914-d3f2-497e-b0ab-825f97e68cb8 Content-Length: 126 X-Content-Type-Options: nosniff