put https://senaps.eratos.com/api/sensor/v2/groups//references/
Replaces all references to the group with those listed in the request body, unlinking all un-listed resources (where possible).
For example, to link stream_1
to the group my_group
and unlink all other streams from the group, issue the following PUT
request to /groups/my_group/references/streams
:
{
"references": [
"stream_1"
]
}
All other streams will be unlinked from my_group
, unless permissions prevent them from being unlinked.