Testing the endpoint – deleteUser
As we have finished out first API implementation, we can now test it by calling the URI http://localhost:8081/user/100 in our client (Postman or SoapUI) using the DELETE method:

After deleting the new user, you can check the results by calling the getAllUsers URI (http://localhost:8081/user).