Overview
Admins need the ability to change user roles and manually verify or suspend users — for example when onboarding government land officers who need ADMIN access.
Endpoints to Implement
| Method |
Path |
Description |
PATCH |
/api/users/:id/role |
Change a user's role (ADMIN only) |
PATCH |
/api/users/:id/verify |
Manually mark a user as verified (ADMIN only) |
PATCH |
/api/users/:id/suspend |
Suspend a user account (ADMIN only) |
Acceptance Criteria
Overview
Admins need the ability to change user roles and manually verify or suspend users — for example when onboarding government land officers who need ADMIN access.
Endpoints to Implement
PATCH/api/users/:id/rolePATCH/api/users/:id/verifyPATCH/api/users/:id/suspendAcceptance Criteria
JwtAuthGuard+ ADMINRolesGuardAuditService403 Account suspendedon all subsequent requests