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.eyJ1c2VyX2lkIjoidWFhLWlkLTIwIiwiZW1haWwiOiJlbWFpbC0yMEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDYzNjE4NzA0fQ.LFYf0TuDDZ1WDKpZrkvm2KEN_cN1LPqv9YsRCQ-RicQ
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.eyJ1c2VyX2lkIjoidWFhLWlkLTIwIiwiZW1haWwiOiJlbWFpbC0yMEBzb21lZG9tYWluLmNvbSIsInNjb3BlIjpbImNsb3VkX2NvbnRyb2xsZXIuYWRtaW4iXSwiYXVkIjpbImNsb3VkX2NvbnRyb2xsZXIiXSwiZXhwIjoxNDYzNjE4NzA0fQ.LFYf0TuDDZ1WDKpZrkvm2KEN_cN1LPqv9YsRCQ-RicQ" \
	-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: de1911ce-1892-49b6-ab1f-8892a615f2c4
Content-Length: 144
X-Content-Type-Options: nosniff