Closed ScotterMonk closed 1 week ago
Shows user, email, role, and if active.
(Note: can replace "all_users" below with "active_users" or "inactive_users")
curl -X POST http://127.0.0.1:5000/access-report \
-H "Content-Type: application/json" \
-d '{"limit_to":"all_users"}'
(Note: can replace "all_users" below with "active_users" or "inactive_users")
Invoke-WebRequest -Uri http://127.0.0.1:5000/access-report -Method POST -Headers @{"Content-Type" = "application/json"} -Body '{"limit_to":"all_users"}'
(Note: can replace "all_users" below with "active_users" or "inactive_users")
curl -X POST http://127.0.0.1:5000/toggle-active \
-H "Content-Type: application/json" \
-d '{"email":"dev.userson@example.com"}'
Invoke-WebRequest -Uri http://127.0.0.1:5000/toggle-active -Method POST -Headers @{"Content-Type" = "application/json"} -Body '{"email":"dev.userson@example.com"}'
Assignment
As an application administrator, I want to be able to mark a user as "inactive" so that they cannot log in or perform any actions on the system.
Acceptance Criteria