Release Templates
Change a release plan safeguard
Enterprise feature
Creates or updates a safeguard for a specific feature, environment, and release plan.
put/api/admin/projects/{project}/features/{featureName}/environments/{environment}/release-plans/{planId}/safeguards
Path parameters
projectstring required
featureNamestring required
environmentstring required
planIdstring required
Request body
Example request
{
"impactMetric": {
"metricName": "unleash_counter_feature_toggle_usage_total",
"timeRange": "day",
"aggregationMode": "rps",
"labelSelectors": {
"environment": [
"development"
],
"project": [
"default"
]
},
"source": "internal"
},
"triggerCondition": {
"operator": ">",
"threshold": 100
}
}Response
This response has no body.