Feature Flags API

Get the Hide Marketplace From Unauthenticated Users feature flag

GET /v2/config/feature_flags/hide_marketplace_from_unauthenticated_users

When enabled, service offerings available in the marketplace will be hidden from unauthenticated users. When disabled, unauthenticated users will be able to see the service offerings available in the marketplace.

Request

Route

GET /v2/config/feature_flags/hide_marketplace_from_unauthenticated_users

Headers

Authorization: bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1c2VyX2lkIjoidWFhLWlkLTM0NSIsImVtYWlsIjoiZW1haWwtMjQwQHNvbWVkb21haW4uY29tIiwic2NvcGUiOlsiY2xvdWRfY29udHJvbGxlci5hZG1pbiJdLCJhdWQiOlsiY2xvdWRfY29udHJvbGxlciJdLCJleHAiOjE0NjYwMDg5MDB9.-CVlwB2xGhTCL1OiyvUP3EHoNil5JZlpD1CCYWAydn4
Host: example.org
Cookie: 

cURL

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

Response

Status

200 OK

Body

{
  "name": "hide_marketplace_from_unauthenticated_users",
  "enabled": false,
  "error_message": null,
  "url": "/v2/config/feature_flags/hide_marketplace_from_unauthenticated_users"
}

Headers

Content-Type: application/json;charset=utf-8
X-VCAP-Request-ID: 8b12ebd7-9b18-4ea9-a08f-5aa46e50917b
Content-Length: 133
X-Content-Type-Options: nosniff