Feature Toggle Service

Update feature toggle

Updates an existing feature toggle. Admin access required.

put/v2/features/{id}

Request

  • Base URL: https://app.metricool.com/api
  • URL: https://app.metricool.com/api/v2/features/{id}
  • Auth: none declared

Path parameters

idinteger required

Feature toggle ID

Request body

descriptionstring

Feature description

enabledboolean required

Whether feature is enabled

strategystring

Strategy for applying feature

Response

Feature toggle updated successfully

metadataobject

Example response

{
  "data": {
    "id": 1,
    "name": "new_dashboard",
    "description": "New dashboard layout",
    "enabled": true,
    "strategy": "all_users",
    "segments": 2,
    "whitelistCount": 5
  }
}

Changes

No recorded changes to this operation across all 4 revisions of this API.