Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API: Cannot unenroll a learner from an enterprise #1151

Open
Rah1x opened this issue Feb 11, 2021 · 2 comments
Open

API: Cannot unenroll a learner from an enterprise #1151

Rah1x opened this issue Feb 11, 2021 · 2 comments

Comments

@Rah1x
Copy link

Rah1x commented Feb 11, 2021

  • 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
@edx-abolger
Copy link
Contributor

edx-abolger commented Mar 1, 2021

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.

@Rah1x
Copy link
Author

Rah1x commented Mar 3, 2021

What does that even mean?

This has been logged internally as ENT-4232

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants