Two grounds, not one
Under section 4, personal data may be processed for a lawful purpose either with consent or for certain legitimate uses. Consent is the default for most customer-facing processing, but section 7 sets out situations where consent is not required.
The legitimate uses
They include data a person voluntarily provides for a specified purpose without objecting, certain State functions, compliance with law or court orders, medical emergencies, epidemics and disasters, and employment-related purposes.
Why the basis matters
Withdrawal of consent stops processing that relies on consent. It does not stop processing that relies on a legitimate use such as a legal retention obligation. Your register, notices and data-use controls should record the basis per purpose so that a withdrawal stops exactly what it should.
Sources: DPDP Act ss.4, 6, 7. This article is not legal advice.
