_model.getApiKey());
UserIndex userIndex = _userService.getUserIndexForId(key);
if (userIndex == null)
return INPUT;
User user = userIndex.getUser();
_userService.removeUserIndexForUser(user, key);
if (user.getUserIndices().isEmpty())
_userService.deleteUser(user);
// Clear the cached value here
_userService.getMinApiRequestIntervalForKey(_model.getApiKey(), true);