diff options
Diffstat (limited to 'doc/api/license.md')
-rw-r--r-- | doc/api/license.md | 4 |
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" ``` |