@DeleteMapping(value = "/cache/{username}", produces = MediaType.APPLICATION_JSON_VALUE)
    @Operation(summary = "Remove cached attributes in the attribute repository for user",
        parameters = @Parameter(name = "username", required = true, in = ParameterIn.PATH, description = "The username to look up"))
    public void removeCachedAttributesFor(@PathVariable("username") final String username) {
        val cachingRepository = getCachingPersonAttributeDao();
        cachingRepository.removeUserAttributes(username);
    }
Remove cached attributes.

@param username the username
support/cas-server-support-person-directory-core/src/main/java/org/apereo/cas/web/report/CasPersonDirectoryEndpoint.java