@DeleteMapping(produces = MediaType.APPLICATION_JSON_VALUE)
    @Operation(summary = "Clean or release all throttled interceptors or remove a throttled authentication record by key",
            parameters = { @Parameter(name = "clear", required = false, description = "Whether to clear/remove the records or simply release them"),
                           @Parameter(name = "key", required = false, description = "Selected key for removal")})
    public void deleteByKeyOrRelease(@RequestParam(value = "clear", required = false) final boolean clear,
                                     @RequestParam(value = "key", required = false) final String key) {
        if (StringUtils.isNotBlank(key)) {
            throttledSubmissionsStore.getObject().remove(key);
        } else {
            val interceptors = authenticationThrottlingExecutionPlan.getObject().getAuthenticationThrottleInterceptors();
            interceptors
                .stream()
                .map(ThrottledSubmissionHandlerInterceptor.class::cast)
                .forEach(interceptor -> {
                    if (clear) {
                        interceptor.clear();
                    } else {
                        interceptor.release();
                    }
                });
        }
    }
Delete by key or release throttled interceptors as necessary.
support/cas-server-support-throttle-core/src/main/java/org/apereo/cas/throttle/ThrottledSubmissionHandlerEndpoint.java