Laravel Solicitar todo Elimine _Token
$request->except('_token');
Shadow
$request->except('_token');
public function logout() {
Auth::user()->tokens->each(function($token, $key) {
$token->delete();
});
return response()->json('Successfully logged out');
}