diff options
Diffstat (limited to 'doc/api/features.md')
-rw-r--r-- | doc/api/features.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/features.md b/doc/api/features.md index 8b5ea27007d..d3c585f67c9 100644 --- a/doc/api/features.md +++ b/doc/api/features.md @@ -13,7 +13,7 @@ Get a list of all persisted features, with its gate values. GET /features ``` -```bash +```shell curl --header "PRIVATE-TOKEN: <your_access_token>" https://gitlab.example.com/api/v4/features ``` @@ -66,7 +66,7 @@ POST /features/:name Note that you can enable or disable a feature for a `feature_group`, a `user`, a `group`, and a `project` in a single API call. -```bash +```shell curl --data "value=30" --header "PRIVATE-TOKEN: <your_access_token>" https://gitlab.example.com/api/v4/features/new_library ``` |