v7

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-013764062.2 MB
Release Templates

Updates a strategy attached to a milestone

Enterprise feature

Overwrites existing strategy configuration for the strategy referenced by the id

put/api/admin/release-plan-templates/{templateId}/milestones/{milestoneId}/strategies/{strategyId}

Path parameters

templateIdstring required
milestoneIdstring required
strategyIdstring required

Response

#/components/schemas/releasePlanMilestoneStrategySchema

idstring required

The milestone strategy's ID. Milestone strategy IDs are ulids.

milestoneIdstring required

The ID of the milestone that this strategy belongs to.

sortOrdernumber required

The order of the strategy in the list

titlestring nullable

A descriptive title for the strategy

namestring required

The name of the strategy type

strategyNamestring required

The name of the strategy type

parametersParametersSchema

A list of parameters for a strategy

segmentsnumber[]

Ids of segments to use for this strategy

disabledboolean nullable

A toggle to disable the strategy. defaults to false. Disabled strategies are not evaluated or returned to the SDKs

Example response

{
  "id": "01JB9GGTGQYEQ9D40R17T3YVW3",
  "milestoneId": "01JB9GGTGQYEQ9D40R17T3YVW1",
  "sortOrder": 9999,
  "title": "Gradual Rollout 25-Prod",
  "name": "flexibleRollout",
  "strategyName": "flexibleRollout",
  "constraints": [
    {
      "values": [
        "1",
        "2"
      ],
      "inverted": false,
      "operator": "IN",
      "contextName": "appName",
      "caseInsensitive": false
    }
  ],
  "variants": [
    {
      "name": "blue_group",
      "weightType": "fix",
      "stickiness": "custom.context.field",
      "payload": {
        "type": "json",
        "value": "{\"color\": \"red\"}"
      }
    }
  ],
  "segments": [
    1,
    2
  ]
}