Test /users/{userId} - DELETE method

  1. In the Resources section of the UsersAPI.

  2. Under /users resource’s {userId} resource, select POST method.

  3. Open the Test tab.

  4. In Test method - Path - userId , fill in d1d2f263-9a93-408c-a836-c13e24fcebf6.

    Replace the id value with the id of user created in previous step.

alt text

  1. Click Test.
  2. Verify that the get-user Lambda function is invoked successfully, and the response is the data of the user.

alt text