How to transfer student, using the API, from one section to another

Community Novice

We have a large number of students in some courses. The students are self-enrolled into a default course section. The grade book stops working because of the high number of students. I would like to use the REST API to transfer students to other sections of the course. How can I accomplish this?

I tried to use the enrollments API to enroll the student into a different section, but I received a 404:
Enroll using Postman