Commit 6323f17e authored by Evan Read's avatar Evan Read

Merge branch 'patch-74' into 'master'

Include ":snippet_id" in "Update snippet" and "Delete snippet" example request URL

See merge request gitlab-org/gitlab!25559
parents 5f0c2438 369467dc
......@@ -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>"
```
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment