Not able to block an user with python library

I’m using the python library python-gitlab and I’m trying to block a user with this library. At first I thought it was a problem with them, however I think the problem is really in Gitlab. Because, in order to block a user, they are requesting (using the requests library) an URL that do not exists.

So in gitlab you only need to press the button “block” (with an url https://blabla/block) and that user will be blocked, however you do not change the HTML page so if you search for the url https://blabla/block you will have an 404 error. This is what is happening in the python library.

Is there a way to solve this?

I’m using the Gitlab version 7, is this solved in the version 9?