I am sure this is something easy, but I can not see it. I want to deactivate an enrollment in a class. I am looking at this documentation.
DELETE /api/v1/courses/:course_id/enrollments/:id
Scope: url:DELETE|/api/v1/courses/:course_id/enrollments/:id
Conclude, deactivate, or delete an enrollment. If the task argument isn't given, the enrollment will be concluded.
Request Parameters:
| Parameter |
|
Type |
Description |
| task |
|
string |
The action to take on the enrollment.
|
I am using this url and sending as a HTTP DELETE
https://XXX/api/v1/courses/44727/enrollments/29569?task=deactivate
the documentation said the task parameter was optional and would default to concluded. So I tried that as well, and still received the 404.
Thanks bob