by Pinki Naskar.
No function is available to unenroll a user from a course.
You have to create function for it.
You will get help from the link
http://docs.moodle.org/dev/Creating_a_web_service_and_a_web_service_function