@DeleteMapping(path = "{principal}", produces = MediaType.APPLICATION_JSON_VALUE)
    @Operation(summary = "Delete consent decisions for principal", parameters = @Parameter(name = "principal", required = true, description = "The principal id to look up"))
    public boolean revokeAllConsents(
        @PathVariable
        final String principal) throws Throwable {
        LOGGER.debug("Deleting all consent decisions for principal [{}].", principal);
        return consentRepository.getObject().deleteConsentDecisions(principal);
    }
Revoke all consent for the principal.

@param principal the principal
@return true/false
support/cas-server-support-consent-core/src/main/java/org/apereo/cas/consent/AttributeConsentReportEndpoint.java