Commit 81e839f4 authored by Z.J. van de Weg's avatar Z.J. van de Weg

Fix styling on docs of Deploy Keys endpoints

parent 554e18ab
...@@ -164,7 +164,7 @@ Example response: ...@@ -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. 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 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 ...@@ -175,7 +175,6 @@ curl -X POST -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com
Example response: Example response:
```json
```json ```json
{ {
"key" : "ssh-rsa AAAA...", "key" : "ssh-rsa AAAA...",
...@@ -189,7 +188,7 @@ Example response: ...@@ -189,7 +188,7 @@ Example response:
Disable a deploy key for a project. Returns the disabled key. 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 curl -X DELETE -H "PRIVATE-TOKEN: 9koXpg98eAheJpvBs5tK" https://gitlab.example.com/api/v3/projects/5/deploy_keys/13/disable
``` ```
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment