@Override
    public boolean deleteConsentDecision(final long decisionId, final String principal) throws Throwable {
        val result = super.deleteConsentDecision(decisionId, 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