Create POST /api/admin/users/{id}/block endpoint #36

Closed
opened 2025-11-20 22:15:51 +00:00 by KZix · 0 comments
Owner

Acceptance Criteria:

  • Toggle user block status
  • Admin-only endpoint
  • Return 401 if not admin
  • Return 404 if user not found
  • Return success with updated user status
  • Blocked users cannot login or play
**Acceptance Criteria:** - [x] Toggle user block status - [x] Admin-only endpoint - [x] Return 401 if not admin - [x] Return 404 if user not found - [x] Return success with updated user status - [x] Blocked users cannot login or play
KZix added the user-managementadminfeatureapi labels 2025-11-20 22:15:51 +00:00
KZix added this to the Bisca - API project 2025-11-20 22:15:51 +00:00
FernandoJVideira moved this to To Do in Bisca - API on 2025-12-20 21:26:53 +00:00
FernandoJVideira moved this to In Progress in Bisca - API on 2025-12-29 11:27:52 +00:00
FernandoJVideira self-assigned this 2025-12-30 10:30:15 +00:00
FernandoJVideira moved this to Done in Bisca - API on 2025-12-30 10:30:37 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SyntaxSquad/DADProject#36