by Mayank Tyagi.
Hey Max,
I think this web service is restricted to logged in users. If you want you can create your own webservice function. You can easily enrol users in to course by creating your own webservice function. I have done this many times.