def unenroll(self, course_run_id):
enrollment_api_client = EnrollmentApiClient()<EOL>if enrollment_api_client.unenroll_user_from_course(self.username, course_run_id):<EOL><INDENT>EnterpriseCourseEnrollment.objects.filter(enterprise_customer_user=self, course_id=course_run_id).delete()<EOL>return True<EOL><DEDENT>return False<EOL>
Unenroll a user from a course track.