Create POST /api/admin/accounts endpoint #34

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

Acceptance Criteria:

  • Admin-only endpoint (authorization check)
  • Accept same fields as registration (email, name, nickname, password)
  • Create admin account directly
  • Return 401 if not admin
  • Return 400 on validation error
  • Return 409 if email exists
  • Return success with created account details
**Acceptance Criteria:** - [x] Admin-only endpoint (authorization check) - [x] Accept same fields as registration (email, name, nickname, password) - [x] Create admin account directly - [x] Return 401 if not admin - [x] Return 400 on validation error - [x] Return 409 if email exists - [x] Return success with created account details
KZix added the adminauthfeatureapi labels 2025-11-20 22:14:53 +00:00
KZix added this to the Bisca - API project 2025-11-20 22:14:53 +00:00
FernandoJVideira moved this to To Do in Bisca - API on 2025-12-20 21:26:51 +00:00
FernandoJVideira self-assigned this 2025-12-21 13:33:58 +00:00
FernandoJVideira moved this to In Progress in Bisca - API on 2025-12-24 15:18:09 +00:00
FernandoJVideira moved this to Done in Bisca - API on 2025-12-30 10:28:59 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SyntaxSquad/DADProject#34