add func to use endpoint introduced in https://github.com/go-gitea/gitea/pull/12419
No due date set.
No dependencies set.
Deleting a branch is permanent. It CANNOT be undone. Continue?
add func to use endpoint introduced in https://github.com/go-gitea/gitea/pull/12419