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
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI0NiIsImVtYWlsIjoiZW1haWwtMTY0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzY4Mjk3ODl9.L8nx2fRns7CFuLr-TeEcrdSYHxCziMN1Flque40BjHo Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/config/feature_flags/route_creation" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTI0NiIsImVtYWlsIjoiZW1haWwtMTY0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MzY4Mjk3ODl9.L8nx2fRns7CFuLr-TeEcrdSYHxCziMN1Flque40BjHo" \ -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: a9f87a36-ef08-41cb-8edf-3d64d6e8be06 Content-Length: 126 X-Content-Type-Options: nosniff