@Override
    public void deleteAll() {
        HttpResponse response = null;
        try {
            val exec = HttpExecutionRequest.builder()
                .basicAuthPassword(properties.getBasicAuthPassword())
                .basicAuthUsername(properties.getBasicAuthUsername())
                .method(HttpMethod.DELETE)
                .url(SpringExpressionLanguageValueResolver.getInstance().resolve(properties.getUrl()))
                .headers(getRequestHeaders(properties))
                .build();
            response = HttpUtils.execute(exec);
        } finally {
            HttpUtils.close(response);
        }
    }
This is {@link RestfulServiceRegistry}.

@author Misagh Moayyed
@since 5.2.0
support/cas-server-support-rest-service-registry/src/main/java/org/apereo/cas/services/RestfulServiceRegistry.java