Hello, I am trying to receive an IoT application token using the API call:
https://api.teamviewer-iot.com/<token>/[version]/apptokens
where <token> is taken from the TV portal under https://teamviewer-iot.com/en/apikey.
and [version] left out or "v1.0". The API returns:
{'error': {'code': '106', 'desc': 'Error.requested action allowable for owner only.'}}
I am using Python 3.7 and the requests-lib::
...response = requests.get("https://api.teamviewer-iot.com/<token>/[version]/apptokens")...
Revoking the API key using
https://api.teamviewer-iot.com/<token>/[version]/revoke
works fine!
Could you please help me what I am doing wrong?