deleteRepoBranch

@DELETE(value = "projects/{id}/repository/branches/{branch}")
abstract suspend fun deleteRepoBranch(@Path(value = "id") id: String, @Path(value = "branch") branch: String): Result<Unit>

Delete a branch from the repository

Return

response body is empty

Parameters

id

ID or URL-encoded path of the project owned by the authenticated user.

branch

Name of the branch.

Samples

com.mato.gitlab.api.BranchApiTest.testDeleteBranch