diff --git a/openedx/core/djangoapps/enrollments/views.py b/openedx/core/djangoapps/enrollments/views.py index 80f6df8531..f413cb761e 100644 --- a/openedx/core/djangoapps/enrollments/views.py +++ b/openedx/core/djangoapps/enrollments/views.py @@ -1066,7 +1066,9 @@ class EnrollmentAllowedView(APIView): **Example Request** - POST /api/enrollment/v1/enrollment_allowed + POST /api/enrollment/v1/enrollment_allowed/ + + Note: The URL for this request must finish with / Example request data: ``` @@ -1086,7 +1088,6 @@ class EnrollmentAllowedView(APIView): - `auto_enroll` (optional, bool: default=false, _body_) **Responses** - - 200: Success, enrollment allowed found. - 400: Bad request, missing data. - 403: Forbidden, you need to be staff. - 409: Conflict, enrollment allowed already exists. @@ -1122,7 +1123,9 @@ class EnrollmentAllowedView(APIView): **Example Request** - DELETE /api/enrollment/v1/enrollment_allowed + DELETE /api/enrollment/v1/enrollment_allowed/ + + Note: The URL for this request must finish with / Example request data: ```