edx-enterprise
edx-enterprise copied to clipboard
API: Cannot unenroll a learner from an enterprise
- enterprise version: 3.2.14
Description
Unable to unlink an enterprise leaner from the enterprise using the api.
What I Did
Followed the documentation where it says if you set is_active to false it will remove enrolment:
https://edx-enterprise-api.readthedocs.io/en/latest/api_reference/reference.html#course-enrollments-endpoint
POST:
https://{url}/enterprise/api/v1/enterprise-customer/{uuid}/course_enrollments/
DATA:
[
{
"course_run_id": "{course string}",
"course_mode": "no-id-professional",
"user_email": "{email_address}",
"is_active": false
}
]
RESPONSE:
(code = 200)
[
{
"detail": "success"
}
]
OUTCOME:
nothing happened, the user / learner is still there
This has been logged internally as ENT-4232. This issue number is internal to edX and will allow our internal team to prioritize this work as part of our internal road maps and sprints.
What does that even mean?
This has been logged internally as ENT-4232