summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Read <eread@gitlab.com>2019-02-06 11:04:11 +1000
committerEvan Read <eread@gitlab.com>2019-02-06 11:04:11 +1000
commit056971a743668848451ba38d1887ce5ddb0def80 (patch)
tree9722fa18f2503d7b8e644f8b01f1a2a7595a5dcb
parent5dae8b89b31485c28bffddb16b3fed47cad79e49 (diff)
downloadgitlab-ce-docs/uplift-snippets-api-doc.tar.gz
Tabulate return codesdocs/uplift-snippets-api-doc
-rw-r--r--doc/api/snippets.md8
1 files changed, 5 insertions, 3 deletions
diff --git a/doc/api/snippets.md b/doc/api/snippets.md
index 0dc6d9ddf89..f90447e124e 100644
--- a/doc/api/snippets.md
+++ b/doc/api/snippets.md
@@ -279,10 +279,12 @@ Example request:
curl --request DELETE --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/snippets/1"
```
-If:
+The following are possible return codes:
-- Delete is successful, a `204 No content` HTTP code is returned with no data.
-- The snippet is non-existent, a `404 Not Found` is returned.
+| Code | Description |
+|:------|:--------------------------------------------|
+| `204` | Delete was successful. No data is returned. |
+| `404` | The snippet wasn't found. |
## List all public snippets