When enabled, space developers can create tasks. When disabled, only admin users can create tasks.
GET /v2/config/feature_flags/task_creation
Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM1MCIsImVtYWlsIjoiZW1haWwtMjQ1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg5MDB9.Mqrxfz0Lb4NqoVLBdXjkvyhbXtDFVRO_Uo3TjsuTH_E Host: example.org Cookie:
curl "https://api.[your-domain.com]/v2/config/feature_flags/task_creation" -X GET \ -H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM1MCIsImVtYWlsIjoiZW1haWwtMjQ1QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg5MDB9.Mqrxfz0Lb4NqoVLBdXjkvyhbXtDFVRO_Uo3TjsuTH_E" \ -H "Host: example.org" \ -H "Cookie: "
200 OK
{ "name": "task_creation", "enabled": false, "error_message": null, "url": "/v2/config/feature_flags/task_creation" }
Content-Type: application/json;charset=utf-8 X-VCAP-Request-ID: d56f5436-a360-4634-86ce-7ca09ab7f618 Content-Length: 125 X-Content-Type-Options: nosniff