Code references
Delete branches
Asynchronously delete a number of branches.
Authorization
ApiKey read, writeAuthorization<token>
In: header
Scope: read, write
Path Parameters
repo*string
The repository name to delete branches for.
Format
stringRequest Body
application/json
[index: integer]?string
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v2/code-refs/repositories/string/branch-delete-tasks" \ -H "Content-Type: application/json" \ -d '[ "branch-to-be-deleted", "another-branch-to-be-deleted" ]'Empty