When enabled, a space developer can create routes in a space. When disabled, only admin users can create routes.
Name | Description | Default | Valid Values | Example Values |
---|
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyMCIsImVtYWlsIjoiZW1haWwtMjQ1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTY1MjY3MTZ9.1bQUaHRLlzDiJomMvotXxtIw9pQYpmbDNXBr17FbzWw Host: example.org Cookie:
GET /v2/config/feature_flags/route_creation
curl "https://api.[your-domain.com]/v2/config/feature_flags/route_creation" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTMyMCIsImVtYWlsIjoiZW1haWwtMjQ1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MTY1MjY3MTZ9.1bQUaHRLlzDiJomMvotXxtIw9pQYpmbDNXBr17FbzWw" \ -H "Host: example.org" \ -H "Cookie: "
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: a8afee87-12b8-471a-b4d2-7ada7b36a7b0 Content-Length: 126 X-Content-Type-Options: nosniff
200 OK
{ "name": "route_creation", "enabled": true, "error_message": null, "url": "/v2/config/feature_flags/route_creation" }