diff options
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/branches.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/api/branches.md b/doc/api/branches.md index da9d4193f20..bb2d3fec09d 100644 --- a/doc/api/branches.md +++ b/doc/api/branches.md @@ -199,3 +199,17 @@ Parameters: "protected": false } ``` + +## Delete repository branch + + +``` +DELETE /projects/:id/repository/branches/:branch +``` + +Parameters: + ++ `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. |