Feature Flags API

Get the Set User Roles feature flag

GET /v2/config/feature_flags/set_roles_by_username

When enabled, Org Managers or Space Managers can add access roles by username. In order for this feature to be enabled the CF operator must: 1) Enable the `/ids/users/` endpoint for UAA 2) Create a UAA `cloud_controller_username_lookup` client with the `scim.userids` authority

Request

Route

GET /v2/config/feature_flags/set_roles_by_username

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0MiIsImVtYWlsIjoiZW1haWwtMjM3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg5MDB9.EH2PvqayEye7YRsM2FdswWDrdO4FIuBK3DdGAt_Hr6o
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/config/feature_flags/set_roles_by_username" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0MiIsImVtYWlsIjoiZW1haWwtMjM3QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg5MDB9.EH2PvqayEye7YRsM2FdswWDrdO4FIuBK3DdGAt_Hr6o" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

{
  "name": "set_roles_by_username",
  "enabled": true,
  "error_message": null,
  "url": "/v2/config/feature_flags/set_roles_by_username"
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: b1b0dc33-db23-4eb2-81a0-0f6320fdbebb
Content-Length: 140
X-Content-Type-Options: nosniff