docs: def create_audit_student_enrollment(self, course_id):
          """
          Creates an audit enrollment for the user in a given course
  
          Args:
              course_id (str): an edX course id
  
          Returns:
              Enrollment: object representing the student enrollment in the provided course
          """
          audit_enrollment = {
              "mode": "audit",
              "course_details": {"course_id": course_id}
          }
          # the request is done in behalf of the current logged in user
          resp = self.requester.post(
              urljoin(self.base_url, self.enrollment_url),
              json=audit_enrollment
          )
          resp.raise_for_status()
          return Enrollment(resp.json())