diff options
Diffstat (limited to 'doc/api/feature_flags.md')
-rw-r--r-- | doc/api/feature_flags.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/feature_flags.md b/doc/api/feature_flags.md index c4d766a6319..55eb62f9a0d 100644 --- a/doc/api/feature_flags.md +++ b/doc/api/feature_flags.md @@ -151,7 +151,7 @@ POST /projects/:id/feature_flags | `strategies:name` | JSON | no | The strategy name. Can be `default`, `gradualRolloutUserId`, `userWithId`, or `gitlabUserList`. In [GitLab 13.5](https://gitlab.com/gitlab-org/gitlab/-/issues/36380) and later, can be [`flexibleRollout`](https://docs.getunleash.io/user_guide/activation_strategy#gradual-rollout). | | `strategies:parameters` | JSON | no | The strategy parameters. | | `strategies:scopes` | JSON | no | The scopes for the strategy. | -| `strategies:scopes:environment_scope` | string | no | The environment spec for the scope. | +| `strategies:scopes:environment_scope` | string | no | The environment scope of the scope. | ```shell curl "https://gitlab.example.com/api/v4/projects/1/feature_flags" \ @@ -213,8 +213,8 @@ PUT /projects/:id/feature_flags/:feature_flag_name | `strategies:name` | JSON | no | The strategy name. | | `strategies:parameters` | JSON | no | The strategy parameters. | | `strategies:scopes` | JSON | no | The scopes for the strategy. | -| `strategies:scopes:id` | JSON | no | The scopes ID. | -| `strategies:scopes:environment_scope` | string | no | The environment spec for the scope. | +| `strategies:scopes:id` | JSON | no | The environment scope ID. | +| `strategies:scopes:environment_scope` | string | no | The environment scope of the scope. | ```shell curl "https://gitlab.example.com/api/v4/projects/1/feature_flags/awesome_feature" \ |