by Pieterjan Heyse.
I'm using the REST API to create courses (core_course_create_courses) and then enrol users (enrol_manual_enrol_users), but this throws an error because the manual enrolment plugin is not enabled. This makes sense to me, but I cannot find a way to enable this plugin using the API and it does not respect the default setting in the admin interface to enable this plugin by default (because I'm doing everything through the API?).
Is there an elegant solution to this problem, or is this a bug?