📚 Admin API Endpoints (管理員API端點)
⚠️ Note: The endpoint
/api/admin/account/all-refresh-tokens needs to be implemented on the backend.
| Endpoint | Method | Authorization | Description (描述) |
|---|---|---|---|
/api/admin/account/all-refresh-tokens |
GET | [Authorize(Roles = "admin")] |
Get all refresh tokens with user info (needs implementation) |
/api/admin/account/user-sessions/{userId} |
GET | [Authorize(Roles = "admin")] |
Get all sessions for a specific user |
/api/admin/account/revoke-user-session |
POST | [Authorize(Roles = "admin")] |
Revoke a specific user session as admin |