diff options
author | Z.J. van de Weg <zegerjan@gitlab.com> | 2016-08-05 12:38:43 +0300 |
---|---|---|
committer | Z.J. van de Weg <zegerjan@gitlab.com> | 2016-08-05 12:38:43 +0300 |
commit | 81e839f41b38d165bd6af4899e12be2967d607e8 (patch) | |
tree | 5ecc09a1dc1a6934174e43adf78b1fd39eef3b92 /doc/api | |
parent | 554e18ab025fcd86001faa57fab14fe3ca28a672 (diff) |
Fix styling on docs of Deploy Keys endpoints
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/deploy_keys.md | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/api/deploy_keys.md b/doc/api/deploy_keys.md index a0340fd4d37..a288de5fc97 100644 --- a/doc/api/deploy_keys.md +++ b/doc/api/deploy_keys.md @@ -164,7 +164,7 @@ Example response: Enables a deploy key for a project so this can be used. Returns the enabled key, with a status code 201 when successful. -``` +```bash curl -X POST -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v3/projects/5/deploy_keys/13/enable ``` @@ -176,7 +176,6 @@ curl -X POST -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com Example response: ```json -```json { "key" : "ssh-rsa AAAA...", "id" : 12, @@ -189,7 +188,7 @@ Example response: Disable a deploy key for a project. Returns the disabled key. -``` +```bash curl -X DELETE -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v3/projects/5/deploy_keys/13/disable ``` |