@DeleteMapping(path = "{principal}/{decisionId}", produces = MediaType.APPLICATION_JSON_VALUE)
    @Operation(summary = "Delete a consent decision for principal using a decision id",
        parameters = {@Parameter(name = "principal", required = true, description = "The principal id to look up"),
            @Parameter(name = "decisionId", required = true, description = "The decision id to delete")})
    public boolean revokeConsents(
        @PathVariable
        final String principal,
        @PathVariable
        final long decisionId) throws Throwable {
        LOGGER.debug("Deleting consent decision for principal [{}].", principal);
        return consentRepository.getObject().deleteConsentDecision(decisionId, principal);
    }
Revoke consent for the principal and id.

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