Well, it seems to me that you are an employee who has been asked to leave the position because your employer found you to be an underperformer or that you were not performing according to their expectations.
Review Your Appointment Letter
If I am correct, you need to review your appointment letter first and provide us with the details. The terms and conditions of the notice period specified in this regard are crucial, as they will enable us to provide a more appropriate response.
Additionally, I echo Ms. (Cite Contribution)'s point and would like to remind you that you have agreed to the terms and conditions of employment by signing the appointment letter, which represents a mutual agreement between both parties (Employee and Employer). If your appointment letter allows the employer to terminate your position due to underperformance, even after being given opportunities to improve, you must leave without expecting notice period benefits in this situation.
I hope this clarifies things for you. However, if you still have any questions, please provide more details as requested above by her and myself as well.