Merging a merge request through the API

Hi, If I have a merge request that is ready for merge, where the green “Merge” button is available, is there a way to do it through the API rather than having to go to the merge request and click on the button?

The reason why I am asking is not because of laziness but I have a few good use cases where this is needed for automation. I have gone through the documentation and even some of the code and have not seen anything that points me in the right direction