summaryrefslogtreecommitdiff
path: root/doc/api/templates/licenses.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/templates/licenses.md')
-rw-r--r--doc/api/templates/licenses.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/templates/licenses.md b/doc/api/templates/licenses.md
index 92466c73bd3..0b95e4d8065 100644
--- a/doc/api/templates/licenses.md
+++ b/doc/api/templates/licenses.md
@@ -21,7 +21,7 @@ GET /templates/licenses
| --------- | ------- | -------- | --------------------- |
| `popular` | boolean | no | If passed, returns only popular licenses |
-```bash
+```shell
curl https://gitlab.example.com/api/v4/templates/licenses?popular=1
```
@@ -124,7 +124,7 @@ GET /templates/licenses/:key
If you omit the `fullname` parameter but authenticate your request, the name of
the authenticated user will be used to replace the copyright holder placeholder.
-```bash
+```shell
curl --header "PRIVATE-TOKEN: <your_access_token>" https://gitlab.example.com/api/v4/templates/licenses/mit?project=My+Cool+Project
```