@Operation(summary = "Remove trusted device using its key",
        parameters = @Parameter(name = "key", required = true, in = ParameterIn.PATH, description = "The key to look up"))
    @DeleteMapping(value = "/{key}", produces = MediaType.APPLICATION_JSON_VALUE)
    public Integer revoke(@PathVariable(name = "key") final String key) {
        mfaTrustEngine.getObject().remove(key);
        return HttpStatus.OK.value();
    }
Revoke record and return status.

@param key the key
@return the integer
support/cas-server-support-trusted-mfa-core/src/main/java/org/apereo/cas/trusted/web/MultifactorAuthenticationTrustedDevicesReportEndpoint.java