📋 Endpoint Details
Method:
GET
Path:
/api/team
Authentication:
Required - Include Authorization: Bearer <token> header
📥 Response Example
{
"success": true,
"message": "Team list fetched successfully",
"data": [
{
"_id": "...",
"username": "team_user",
"name": "Team Member",
"lastLogin": "2024-01-01T00:00:00.000Z"
}
]
}
💡 Usage Tips
cURL Example:
curl -X GET \
http://localhost:3000/api/team \
-H "Authorization: Bearer YOUR_TOKEN_HERE"