Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc/api
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-02-25 09:09:07 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-02-25 09:09:07 +0300
commit7e3005967df23a957fe1998c8de4f50b412e69e7 (patch)
treefd836107b2035a19fbe8e296380446748f2c07c3 /doc/api
parenta8c82a6395ed62380b9061a26d92e41d46c2877e (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api')
-rw-r--r--doc/api/project_snippets.md4
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>"
```