Skip to content
代码片段 群组 项目
提交 34d45c07 编辑于 作者: Amy Qualls's avatar Amy Qualls
浏览文件

Merge branch 'docs-api-faleksic-master-patch-96542' into 'master'

Fix incorrect json in example

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/124839



Merged-by: default avatarAmy Qualls <aqualls@gitlab.com>
Approved-by: default avatarAmy Qualls <aqualls@gitlab.com>
Co-authored-by: default avatarFilip Aleksic <faleksic@gitlab.com>
No related branches found
No related tags found
无相关合并请求
...@@ -510,7 +510,7 @@ Example response: ...@@ -510,7 +510,7 @@ Example response:
```shell ```shell
curl --header 'Content-Type: application/json' --request PATCH \ curl --header 'Content-Type: application/json' --request PATCH \
--data '{"allowed_to_push": [{"id": 12, "access_level": 0}]' \ --data '{"allowed_to_push": [{"id": 12, "access_level": 0}]}' \
--header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/projects/22034114/protected_branches/master" --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/projects/22034114/protected_branches/master"
``` ```
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册