@DeleteMapping("/{userId}")
	@PreAuthorize("hasAnyRole('A')")
	public void delete(User user, @PathVariable("userId") String userId) {
		if (!user.getUserId().equals(userId)) {
			userService.delete(userId);
			log.info("'{}' is deleted by '{}'", userId, user.getUserId());
		}
	}
Delete the user by the given userId.

@param userId user id
ngrinder-controller/src/main/java/org/ngrinder/user/controller/UserApiController.java