diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-27 09:09:01 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-27 09:09:01 +0000 |
commit | c72e5ebe9938d315ec598197873e71a80168d40a (patch) | |
tree | 439bf5c40aaf774e5a301825af517cb52726f450 /doc/api/deploy_keys.md | |
parent | ffc43b862df32a590eae874bcbb11109b46dc8be (diff) | |
download | gitlab-ce-c72e5ebe9938d315ec598197873e71a80168d40a.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/deploy_keys.md')
-rw-r--r-- | doc/api/deploy_keys.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/api/deploy_keys.md b/doc/api/deploy_keys.md index 492777fb785..f6d00988c56 100644 --- a/doc/api/deploy_keys.md +++ b/doc/api/deploy_keys.md @@ -4,7 +4,7 @@ Get a list of all deploy keys across all projects of the GitLab instance. This endpoint requires admin access. -``` +```plaintext GET /deploy_keys ``` @@ -35,7 +35,7 @@ Example response: Get a list of a project's deploy keys. -``` +```plaintext GET /projects/:id/deploy_keys ``` @@ -72,7 +72,7 @@ Example response: Get a single key. -``` +```plaintext GET /projects/:id/deploy_keys/:key_id ``` @@ -106,7 +106,7 @@ Creates a new deploy key for a project. If the deploy key already exists in another project, it will be joined to current project only if original one is accessible by the same user. -``` +```plaintext POST /projects/:id/deploy_keys ``` @@ -137,7 +137,7 @@ Example response: Updates a deploy key for a project. -``` +```plaintext PUT /projects/:id/deploy_keys/:key_id ``` @@ -167,7 +167,7 @@ Example response: Removes a deploy key from the project. If the deploy key is used only for this project, it will be deleted from the system. -``` +```plaintext DELETE /projects/:id/deploy_keys/:key_id ``` |