Strategies

Update a strategy type

Updates the specified strategy type. Any properties not specified in the request body are left untouched.

put/api/admin/strategies/{name}

Request

  • Base URL
    https://app.unleash-instance.example.com
  • URL
    https://app.unleash-instance.example.com/api/admin/strategies/{name}
  • Auth
    • API key in header Authorization
    • or HTTP bearer

Path parameters

namestring required

Request body

descriptionstring

A description of the strategy type.

Example request

{
  "description": "Enable the feature for users who have not logged in before.",
  "parameters": [
    {
      "name": "Rollout percentage",
      "type": "percentage",
      "description": "How many percent of users should see this feature?"
    }
  ]
}

Response

This response has no body.

Changes

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