example-crud icon indicating copy to clipboard operation
example-crud copied to clipboard

Delete User by ID does not return an error, even if the deleted ID is set

Open junyama opened this issue 4 years ago • 0 comments

Here is the way to reproduce the issue:

  1. Create a new User by using Create new User API
  2. Check ID of the user created at the step 1) by using Get All Users with Paging API
  3. Delete the user by using Delete User by ID API with the ID
  4. Delete the user by using Delete User by ID API with the same ID again

Even if you call Delete User by ID API with ID of a user which was already deleted, the return message of API is as follows:

{ "status": "OK", "code": 200, "message": "User was successfully deleted" }

junyama avatar Aug 20 '21 03:08 junyama