How to remove unused tags from Files app?

We have unused tags in Nextcloud (i.e. tags that are still listed when searching but have no files attached to them).

NoTags

How can I remove these from the system?

I’ve tried running sudo -u www-data php /var/www/nextcloud/occ files:scan --all but that did not clear things up.

Any ideas? We’re running 21.0.3.

Finally found it.

Tags can be managed/deleted in Settings → Administration → Basic Settings → Collaborative Tags