How to Get a Taglist IDs and Names with (Curl)

Hello,
I’m looking for a way to get the Tags( Names und Ids) using curl.

I have the possibility to read out the users via OCS for the BSP
[ curl -u username:password -X GET ‘https://cloud.example.com/ocs/v1.php/cloud/users’ -H “OCS-APIRequest: true” ]

Is there a method call to read a keyword list with names and ids.

The Nexcloud is hosted by Ionos.

thanks