As a product owner, I should be able to delete a role, so that I can remove old or inconsistent roles.
Acceptance Criteria
GIVEN a product owner is deleting a role in the desktop app
WHEN the app hits the roles/:id endpoint with a valid DELETE request, containing the path parameter:
:id, the unique id of the role being removed.
THEN the app should receive a status 200AND in the response, the following information should be returned:
Summary
As a
product owner
, I should be able to delete a role, so that I can remove old or inconsistent roles.Acceptance Criteria
GIVEN a
product owner
is deleting a role in the desktop app WHEN the app hits theroles/:id
endpoint with a valid DELETE request, containing the path parameter::id
, the unique id of the role 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
A typical test case for a DELETE request would look like this:
/roles
endpointid
returned from the POST, make a DELETE request to/roles/:id
endpoint/roles/:id
endpoint should return a 404 not found status code.