diff options
Diffstat (limited to 'doc/api')
-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>" ``` |