features
Create or update a feature flag
Creates or updates a feature flag value. If a feature with the given name doesn't exist yet, the operation creates one. The value can be a boolean or an integer to indicate percentage of time.
post/api/v4/features/{name}
Request
- Base URLhttps://gitlab.com
- Authnone declared
Path parameters
namestring required
The name of the feature flag
Request body
Response
Create or update a feature flag
Example response
{
"name": "experimental_feature",
"state": "off",
"gates": {
"key": "percentage_of_actors",
"value": 34
}
}Changes
No recorded changes to this operation across all 5 revisions of this API.