@ApiParam(name = "JSON body", value = "Updated user information.", required = true) String body) {
if (body == null || body.isEmpty()) {
throw new BadRequestException("Missing request body.");
}
checkPermission(USERS_EDIT, username);
CreateRequest cr = getCreateRequest(body);
final User user = userService.load(username);
if (user == null) {
return status(NOT_FOUND).build();
}