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
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-01-30 18:09:15 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-01-30 18:09:15 +0300
commit536aa3a1f4b96abc4ca34489bf2cbe503afcded7 (patch)
tree88d08f7dfa29a32d6526773c4fe0fefd9f2bc7d1 /doc/api/license.md
parent50ae4065530c4eafbeb7c5ff2c462c48c02947ca (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/license.md')
-rw-r--r--doc/api/license.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/license.md b/doc/api/license.md
index c56a5fee95a..2be26e1bddf 100644
--- a/doc/api/license.md
+++ b/doc/api/license.md
@@ -101,7 +101,7 @@ POST /license
| --------- | ---- | -------- | ----------- |
| `license` | string | yes | The license string |
-```bash
+```shell
curl --request POST --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/license?license=eyJkYXRhIjoiMHM5Q...S01Udz09XG4ifQ=="
```
@@ -145,7 +145,7 @@ DELETE /license/:id
| --------- | ---- | -------- | ----------- |
| `id` | integer | yes | ID of the GitLab license. |
-```bash
+```shell
curl --request DELETE --header "PRIVATE-TOKEN: <your_access_token>" "https://gitlab.example.com/api/v4/license/:id"
```