Update a feature flag
Changed onUpdates the specified feature if the feature belongs to the specified project. Only the provided properties are updated; any feature properties left out of the request body are left untouched.
Request
- Base URLhttps://app.unleash-instance.example.com
- URLhttps://app.unleash-instance.example.com/api/admin/projects/{projectId}/features/{featureName}
- Auth
- API key in header Authorization
- or HTTP bearer
Path parameters
Request body
Example request
{
"description": "Controls disabling of the comments section in case of an incident",
"type": "kill-switch",
"stale": true,
"archived": true
}Response
featureSchema
Changes
- warning
added the new
SEMVER_GTEenum value to the//////////response property for the response status - warning
added the new
SEMVER_GTEenum value to the//////response property for the response status - warning
added the new
SEMVER_LTEenum value to the//////////response property for the response status - warning
added the new
SEMVER_LTEenum value to the//////response property for the response status
- warning
- warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
added the new
REGEXenum value to the//////////response property for the response status - warning
added the new
REGEXenum value to the//////response property for the response status - info
added the new
sunsetenum value to the request property - info
added the optional property
////////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
//to the response with the status - info
response property
environments/items/releasePlans/items/milestones/items/strategies/items/strategyNamedeprecated (stability: stable) - info
added the required property
////////to the response with the status
- warning