TeamViewer Forum

General Category => Suggestions => Topic started by: soapergem on October 19, 2016, 10:04:27 PM

Title: New API features
Post by: soapergem on October 19, 2016, 10:04:27 PM
I've been trying to take advantage of the TeamViewer API (https://integrate.teamviewer.com/en/develop/api/) to do what I figured would be a relatively simple task: move a device from one group to another. However, after reading through their developer's guide, along with trying out a couple of REST calls via trial and error, it doesn't seem like that's possible.

I tried doing a PUT to /api/v1/devices/d12345... with the following payload:

Code: [Select]
{"groupid":"g12345..."}
Unfortunately though, that call didn't work. Has anyone else here written any apps/scripts that take advantage of the TV API? Do you know if it's possible to move a device from one group to another using their API, and if there's something I'm just missing? Thanks.