In TeamViewer, you may want to remove a session id that you do not need any more, or you accidentally mistyped.

You can just click on the “ID” Label next to the session list and a popup window open with the id and the alias. There you have the option to “remove id”