in client/components/mma/identity/identity.ts [106:114]
async unsubscribe(option: ConsentOption): Promise<void> {
if (isNewsletter(option)) {
return NewslettersAPI.update(option.id, false);
} else if (isSupportReminderConsent(option)) {
return SupportRemindersApi.update(option.id, false);
} else {
return ConsentsAPI.update(option.id, false);
}
},