Currently, curbing mobile money fraud in the country is nearly impossible. To tackle this issue, we propose developing a real-time database that allows users to query and determine if a phone number is likely fraudulent based on public contributions, especially from those who have experienced fraud.
Endpoint: /api/admin/users/deactivate/{adminId}
Method: POST
Description: Deactivates an admin's account, preventing them from logging in or performing any administrative actions.
Authorization Required: Yes
Parameters:
Admin ID: The unique identifier for the admin.
Endpoint: /api/admin/users/delete/{adminId}
Method: DELETE
Description: Permanently deletes an admin's account from the system.
Authorization Required: Yes
Parameters:
Admin ID: The unique identifier for the admin.
Feedback:
Success: "Admin account deleted successfully."
Failure: "Failed to delete admin account. Please ensure the admin ID is correct and try again."
Endpoint: /api/admin/users/deactivate/{adminId} Method: POST Description: Deactivates an admin's account, preventing them from logging in or performing any administrative actions. Authorization Required: Yes
Parameters: Admin ID: The unique identifier for the admin.
Feedback: Success: "Admin account deactivated successfully." Failure: "Failed to deactivate admin account. Please try again."
Endpoint: /api/admin/users/delete/{adminId} Method: DELETE Description: Permanently deletes an admin's account from the system. Authorization Required: Yes
Parameters: Admin ID: The unique identifier for the admin.
Feedback: Success: "Admin account deleted successfully." Failure: "Failed to delete admin account. Please ensure the admin ID is correct and try again."