This is where Swiss jurisdiction does real work. A foreign authority cannot order us to do anything; it has to send a request for mutual legal assistance, and the Federal Act on International Mutual Assistance in Criminal Matters (IMAC) filters it. Article 3 makes a request inadmissible when the proceedings concern an act that is predominantly political by Swiss standards; article 2 excludes proceedings that fall short of the European Convention on Human Rights or aim to punish someone for their political opinions; article 64 allows coercive measures, such as seizing data, only if the act would also be punishable in Switzerland. A request to identify whoever called a foreign president a thief therefore has a hard road. A request about a bomb threat does not, because serious violence and terrorism fall outside the political-offence exception.
What a valid Swiss order can reach is what exists. On our side that is an email address, a balance history and server records, since the account is no-KYC: an email address is enough. On your side it is whatever your forum stores, and most forum software, phpBB and Discourse included, keeps users' IP addresses by default. Under the revised Federal Act on Data Protection, in force since 1 September 2023, you are the controller of that data, so set a retention period before anyone asks. Keep an eye on one file: the 2025 draft revision of the surveillance ordinance (VÜPF) would have extended identification and retention duties to some communication services, and as of 31 October 2026 it is not in force, with a second consultation announced. The planned federal law on communication platforms (KomPG) is aimed only at very large platforms and search engines; the Federal Council wants the bill ready by the end of June 2027.