Managing tags by group
Nextcloud offers the ability to manage restricted file tags also by groups. At the moment the settings are not exposed in the web interface however. By utilizing the WebDAV-based API the desired configuration can be achieved. This article shows how this can be established. It assumes that the tag to be managed is already existing. The command line tools curl and xmllint are being used.
1. Find the ID of your tag:
curl -u ADMINUSER \
-X PROPFIND\
-H 'Content-Type: application/xml; charset=utf-8' \
-d ' ' \
https://your.nextcloud.server/remote.php/dav/systemtags \
| xmllint --format -
Please adjust your.nextcloud.server to your domain and ADMINUSER with the proper username. The user must be member of the admin group. The request do
Subscriber exclusive content
A Nextcloud Enterprise Subscription provides unlimited access to our knowledge base articles and direct access to Nextcloud engineers.