As a product owner, I should be able to delete a rate type, so that I can remove old or inconsistent rate types #53
Labels
user story
A brief explanation of a functionality or an interaction with the system, from a user's perspective
Summary
As a
product owner
, I should be able to delete a rate type, so that I can remove old or inconsistent rate types.Acceptance Criteria
GIVEN a
product owner
is deleting a rate type in the desktop appWHEN the app hits the
rate-types/:id
endpoint with a valid DELETE request, containing the path parameter::id
, the unique id of the rate type being removed.THEN the app should receive a status
200
AND in the response, the following information should be returned:
Sample Request/Sample Response
Resources
Dev Notes
{Some complementary notes if necessary}
Testing Notes
Scenario 1: DELETE request is successful:
/rate-types
endpoint.id
returned from the POST, make a DELETE request to/rate-types/:id
endpoint./rate-types/:id
endpoint should return a 404 not found status code.Scenario 2: DELETE request is forbidden:
/rate-types/:id
endpoint using acontractor
account token.The text was updated successfully, but these errors were encountered: