From 81e839f41b38d165bd6af4899e12be2967d607e8 Mon Sep 17 00:00:00 2001 From: "Z.J. van de Weg" Date: Fri, 5 Aug 2016 11:38:43 +0200 Subject: Fix styling on docs of Deploy Keys endpoints --- doc/api/deploy_keys.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'doc/api/deploy_keys.md') 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 ``` @@ -175,7 +175,6 @@ curl -X POST -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com Example response: -```json ```json { "key" : "ssh-rsa AAAA...", @@ -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 ``` -- cgit v1.2.3