feature_flags
Create a feature flag
Creates a feature flag for a specified project.
post/api/v4/projects/{id}/feature_flags
Request
- Base URLhttps://gitlab.com
- Authnone declared
Path parameters
idstring required
The ID or URL-encoded path of the project
Request body
Response
Create a feature flag
Example response
{
"name": "merge_train",
"description": "merge train feature flag",
"version": "new_version_flag",
"created_at": "2019-11-04T08:13:51.423Z",
"updated_at": "2019-11-04T08:13:51.423Z",
"strategies": {
"id": 1,
"name": "userWithId",
"parameters": "{\"userIds\": \"user1\"}",
"scopes": {
"id": 1,
"environment_scope": "production"
},
"user_list": {
"id": 1,
"iid": 1,
"name": "user_list",
"user_xids": "user1,user2"
}
}
}Changes
No recorded changes to this operation across all 5 revisions of this API.