How can I block a device ID?
It’s not possible to block device IDs. There is no way to do so directly and for privacy reasons they are not exposed to rules, hooks, nor actions.
There is also little benefit to blocking them as a new device ID can be generated by deleting the cookie. So it’s easy to evade any kind of block.