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.eyJ1c2VyX2lkIjoidWFhLWlkLTMyOSIsImVtYWlsIjoiZW1haWwtMjUwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjIzMjM1NTN9.SaaThFjN9UcA7HTI3YUNC77gBGYAFNM7ig7a4pOa_uI 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.eyJ1c2VyX2lkIjoidWFhLWlkLTMyOSIsImVtYWlsIjoiZW1haWwtMjUwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0MjIzMjM1NTN9.SaaThFjN9UcA7HTI3YUNC77gBGYAFNM7ig7a4pOa_uI" \ -H "Host: example.org" \ -H "Cookie: "
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: 79f1006e-0759-405f-bb97-33dcff1b2a90 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" }