The right to erasure applies when one of Article 17’s grounds is met, such as data no longer being necessary or consent being withdrawn without another legal ground. It is not unconditional: exceptions include certain legal obligations, freedom of expression and information, public-interest uses and legal claims. Assess the request and applicable exceptions before deleting or refusing it.
Source: GDPR Article 17.