by Pierre Cartier.
I'm actualy looking for it too ! Specially to edit date restriction acces using timestamp. This is visible in core_course_get_contents or core_course_get_course_module, but no create option. I'm looking in the moodle code to search all actions allowed by core_course_edit_module because the documentation isn't really explicit about that.