summaryrefslogtreecommitdiff
path: root/doc/api/branches.md
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/branches.md')
-rw-r--r--doc/api/branches.md6
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/api/branches.md b/doc/api/branches.md
index 763dea6cfb5..31469b6fe97 100644
--- a/doc/api/branches.md
+++ b/doc/api/branches.md
@@ -41,7 +41,6 @@ Parameters:
]
```
-
## Get single repository branch
Get a single project repository branch.
@@ -199,14 +198,13 @@ Parameters:
## Delete repository branch
-
```
DELETE /projects/:id/repository/branches/:branch
```
Parameters:
-+ `id` (required) - The ID of a project
-+ `branch` (required) - The name of the branch
+- `id` (required) - The ID of a project
+- `branch` (required) - The name of the branch
It return 200 if succeed or 405 if failed with error message explaining reason.