Add a new feature flag
Changed onCreate a new feature flag in a specified project.
Request
- Base URLhttps://app.unleash-instance.example.com
- URLhttps://app.unleash-instance.example.com/api/admin/projects/{projectId}/features
- Auth
- API key in header Authorization
- or HTTP bearer
Path parameters
Request body
Example request
{
"name": "disable-comments",
"type": "release",
"description": "Controls disabling of the comments section in case of an incident",
"tags": [
{
"value": "a-tag-value",
"type": "simple",
"color": "#FFFFFF"
}
]
}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