Home
Version 3
Feature Flags API

Feature Flags API

Get the Unset User Roles feature flag

GET /v2/config/feature_flags/unset_roles_by_username

When enabled, Org Managers or Space Managers can remove 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/unset_roles_by_username

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE1NSIsImVtYWlsIjoiZW1haWwtODdAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0NDI2MDY0MX0.c5ZIvNH-PsJq0NxxPZAyD8U6zkZxEL1C-xvfP0I93ZU
Host: example.org
Cookie: 

cURL

curl "https://api.[your-domain.com]/v2/config/feature_flags/unset_roles_by_username" -X GET \
	-H "Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTE1NSIsImVtYWlsIjoiZW1haWwtODdAc29tZWRvbWFpbi5jb20iLCJzY29wZSI6WyJjbG91ZF9jb250cm9sbGVyLmFkbWluIl0sImF1ZCI6WyJjbG91ZF9jb250cm9sbGVyIl0sImV4cCI6MTQ0NDI2MDY0MX0.c5ZIvNH-PsJq0NxxPZAyD8U6zkZxEL1C-xvfP0I93ZU" \
	-H "Host: example.org" \
	-H "Cookie: "

Response

Status

200 OK

Body

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

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: a28fb668-27a4-4add-adfd-c2ea72453153
Content-Length: 144
X-Content-Type-Options: nosniff