Author Topic: New API features  (Read 6646 times)

soapergem

  • Newbie
  • *
  • Posts: 1
New API features
« on: October 19, 2016, 10:04:27 PM »
I've been trying to take advantage of the TeamViewer 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.