Currently digging deeper in API and i play around with simple auth process . My question is do i need to make function logout for each role ( in future ) for example , i have 3 role . so do i need to implement the same function logout into each role ? Based on my understanding, API are playing with token right ? so it doesnt same like web which is we can call " auth()->user()->id " .