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
Implement soft deletion
Return 401 if not admin
Return 403 if admin attempts to delete self
Return 404 if user not found
Preserve transaction history
Toggle user block status
Return 401 if not admin
Return 404 if user not found
Return success with updated user status
Blocked users cannot login or play
**Added** --> /admin/users endpoint
- [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
- [x] Implement soft deletion
- [x] Return 401 if not admin
- [x] Return 403 if admin attempts to delete self
- [x] Return 404 if user not found
- [x] Preserve transaction history
- [x] Toggle user block status
- [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
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Added --> /admin/users endpoint
New commits pushed, approval review dismissed automatically according to repository settings
New commits pushed, approval review dismissed automatically according to repository settings