'GitHub REST API For Delete Branch

I've been reading the GitHub API Documentation and searching around. It seem like there's no REST API for deleting a branch in GitHub? The closes thing I found is another post on Github enterprise API delete branch after merge.

Is there a reason why that is? What is the proper way to delete a branch using REST API?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source