Within 90 days: You can apply for revocation directly on the GST portal using Form GST REG-21.
91 to 270 days: You may apply with a "condonation of delay" request, subject to approval from the competent authority.
After 270 days: The online revocation facility is disabled; you will typically need to apply for a fresh registration or consult a legal professional for judicial remedies.