martek_58308
Aug 03, 2016Nimbostratus
Solved
REST - setSyncLeader in device-group
Hi guys,
Need a help with another bit of REST config - bellow is TMSH command to do this
modify cm device-group DEVICE_GROUP_NAME devices modify { DEVICE_NAME { set-sync-leader } }
a...
- Aug 03, 2016
Terse answer.. I am typing on phone traveling..
You woukd not use POST in the device group as you are working with an existing group, not creating one.
I believe you want to use the PATCH verb on the full devicegroup / devices / device URL.