How to add a new course to all courses but not to the users dashboard through api?

Community Contributor


We created a lot of new courses for the new term. Our teachers do manually add stars to courses so they can decide which courses appear on their dashboard.

All the new courses that where created through the api did also get a star, so the organised dashboard of our teachers suddenly became completely unorganised. The new courses where added a few months before the start of the new term, so a lot of teachers did get confused.

Is it possible to add courses to all courses through the api, but not to the users dashboard?