The problem is that we really don't know which token to remove. I guess one option to remove all.
Yes we can clearout all the tokens, but for multiple logins it will create further issue.
Can we pass notification token in delete request and filter that token?
That would require another native integration point. Possible, but probably a lot of changes for questionable value.
If by token you mean a Firebase token, and by custom app you mean a mobile app, then it is possible to remove the correct token if you store it in local storage when it gets generated on first startup. This is, assuming you have access to source code and programming skills. Once you retrieve the token from local storage, then you can use a function like this.
(Still, it would be nice if we could actually pass the token in the logout request, so Traccar handles it automatically.)
Does Traccar clear notification token on logging out?
I'm using custom app and on logging out notification token is not cleared out and app is getting notifications.