diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-25 09:09:07 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-25 09:09:07 +0300 |
commit | 7e3005967df23a957fe1998c8de4f50b412e69e7 (patch) | |
tree | fd836107b2035a19fbe8e296380446748f2c07c3 /doc/api/project_snippets.md | |
parent | a8c82a6395ed62380b9061a26d92e41d46c2877e (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/project_snippets.md')
-rw-r--r-- | doc/api/project_snippets.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/project_snippets.md b/doc/api/project_snippets.md index ffdbd82adba..b734273b5f6 100644 --- a/doc/api/project_snippets.md +++ b/doc/api/project_snippets.md @@ -123,7 +123,7 @@ Parameters: Example request: ```shell -curl --request PUT https://gitlab.com/api/v4/projects/:id/snippets \ +curl --request PUT https://gitlab.com/api/v4/projects/:id/snippets/:snippet_id \ --header "PRIVATE-TOKEN: <your_access_token>" \ --header "Content-Type: application/json" \ -d @snippet.json @@ -157,7 +157,7 @@ Parameters: Example request: ```shell -curl --request DELETE https://gitlab.com/api/v4/projects/:id/snippets \ +curl --request DELETE https://gitlab.com/api/v4/projects/:id/snippets/:snippet_id \ --header "PRIVATE-TOKEN: <your_access_token>" ``` |