Home
Version 3
Feature Flags API

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.eyJ1c2VyX2lkIjoidWFhLWlkLTQ0MyIsImVtYWlsIjoiZW1haWwtMzE0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTE0MTM3MDB9.ki7M-Wl93r9SsPPI5ISJNa8kaxyACyPVd7w9migATUg
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.eyJ1c2VyX2lkIjoidWFhLWlkLTQ0MyIsImVtYWlsIjoiZW1haWwtMzE0QHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NTE0MTM3MDB9.ki7M-Wl93r9SsPPI5ISJNa8kaxyACyPVd7w9migATUg" \
	-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: 
Content-Length: 140
X-Content-Type-Options: nosniff