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.eyJ1c2VyX2lkIjoidWFhLWlkLTM0OCIsImVtYWlsIjoiZW1haWwtMjQzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg5MDB9.g6HhFC2W3aBSYdRdtUn1db-pJDFSb5H_j-Cf6L_CuHc Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/config/feature_flags/route_creation" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0OCIsImVtYWlsIjoiZW1haWwtMjQzQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg5MDB9.g6HhFC2W3aBSYdRdtUn1db-pJDFSb5H_j-Cf6L_CuHc" \ -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: 7dd812cc-458f-4897-8ac4-c8279d0680bf Content-Length: 126 X-Content-Type-Options: nosniff