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.eyJ1c2VyX2lkIjoidWFhLWlkLTEzOCIsImVtYWlsIjoiZW1haWwtNzRAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0NTU1NzkzN30.hkebdFR6koGOS3tt5rMlFluPJcgZI8I0BSPlHFPwn3s Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/config/feature_flags/route_creation" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTEzOCIsImVtYWlsIjoiZW1haWwtNzRAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0NTU1NzkzN30.hkebdFR6koGOS3tt5rMlFluPJcgZI8I0BSPlHFPwn3s" \ -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: 33ed8bed-0e0d-4d52-ad2f-6864477deb45 Content-Length: 126 X-Content-Type-Options: nosniff