curl -X GET "https://olive-gateway-a6ba.onrender.com/api/v1/admin/me" \ -H "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
{ "id": "123", "email": "admin@olive.sl", "first_name": "Admin", "last_name": "User", "role": "system_admin", "status": "active", "phone_number": "+23277123456", "last_login_at": "2025-01-15T09:30:00Z", "created_at": "2024-12-01T10:00:00Z", "agent_id": null, "pep_access_authorized": true }
Get current logged-in user details
Bearer <token>
active
inactive
suspended
UNAUTHORIZED
NOT_FOUND