@Override
    public boolean deleteConsentDecisions(final String principal) throws Throwable {
        val result = super.deleteConsentDecisions(principal);
        writeAccountToJsonResource();
        return result;
    }
This is {@link JsonConsentRepository}.

@author Misagh Moayyed
@since 5.2.0
support/cas-server-support-consent-core/src/main/java/org/apereo/cas/consent/JsonConsentRepository.java