patch https://senaps.eratos.com/api/sensor/v2/groups//references/
Add or remove references to the group, leaving references not listed in the request body unchanged.
For example, to link stream_1
to the group my_group
and unlink stream_2
from it, issue the following PATCH
request to /groups/my_group/references/streams
:
{
"addReferences": [
"stream_1"
],
"removeReferences": [
"stream_2"
]
}
All other streams will remain linked or unlinked from my_group
as they were before the request.