Admin Feature Flags

Update global feature flag configuration

put/admin/feature-flags/config

Request

  • Base URL: /api/v2 (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/v2/admin/feature-flags/config
  • Auth: loggedin (a scheme the document does not define)

Request body

flag_namestring

Which flag to update (defaults to market_v2)

default_version'V1' | 'V2'
rollout_percentagenumber double

Percentage of users (0-100) to receive V2 via rollout

enabledboolean

Master kill-switch: when false, everyone gets V1

Response

Ok

flag_namestring required
default_version'V1' | 'V2' required
rollout_percentagenumber double required
enabledboolean required

Changes

    • ▲

      removed the required property from the response with the status

    • ▲

      removed the required property from the response with the status

    • ○

      the endpoint scheme security loggedin was added to the API

    • ○

      the endpoint scheme security jwt was removed from the API

    • ○

      added the new optional request property