Answer the question
In order to leave comments, you need to log in
How to add a specific student to moodle via REST API?
Hello, I'm interested in the question, how can I add a specific student to a specific course through the REST API in moodle? And also how to open and close access for everyone on tests (including those who are aware of where this test is located) through api?
Answer the question
In order to leave comments, you need to log in
To enroll in a course, you must use the `enrol_manual_enrol_users` method, and to deduct the `enrol_manual_unenrol_users` method
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question