PATCH the group with the body having an array of devices (or things) you want to be in the group.
The body will look like this:
{""devices"":[{""id"":""5eaa9eadfb54fa27cc7d3a2e"",""name"":null},{""id"":""5eaab9bb07ce31398ccc69bf"",""name"":null},{""id"":""5fead01f3c603b2f8544cc2d""}]}
with as many devices as you want, so you can use this to assign 10 devices to a group at once.
Please note that this will need to be the complete list, so if you do a patch to put in A and B and then later want to add also C you will need to do a patch with A, B and C, otherwise you will only have C.
cURL Example:
curl --location --request PATCH 'https://api.axonize.com/odata/groups/609cd8190617384223844728' \
--header 'Accept: application/json' \
--header 'authorization: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJodHRwczovL2F4b25pemUuY29tL2FwcElkIjoiY2U2ZTU5OWMtZTk2MS00ZGU4LTkwNjItMGI2MjFmYTdhOGEzIiwiaHR0cHM6Ly9heG9uaXplLmNvbS9yb2xlIjpudWxsLCJodHRwczovL2F4b25pemUuY29tL3VzZXJJZCI6IjVmM2U5NjVmZGZiNDRkMzEyNDRhNjg3ZSIsImh0dHBzOi8vYXhvbml6ZS5jb20vdXNlcm5hbWUiOiJUb21hc3ogWmFyZWJhIiwiaHR0cHM6Ly9heG9uaXplLmNvbS90ZW5hbnRJZCI6IjVkMjMyYTU3ZTNiMGM3MjcwY2IyNzQ4NCIsImh0dHBzOi8vYXhvbml6ZS5jb20vY3VsdHVyZUluZm8iOm51bGwsImVtYWlsIjoidG9tYXN6LnphcmViYUB6dW10b2JlbGdyb3VwLmNvbSIsImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJpc3MiOiJodHRwczovL3NvaW90LmV1LmF1dGgwLmNvbS8iLCJzdWIiOiJhdXRoMHw1ZjNlOTY1ZmRmMmQ5YjAwMzg2M2VjZjAiLCJhdWQiOiJsQmdLRUJ4QzIwVm0zNzVhS3FWVm1Zb3NvUXZsbVd4UiIsImlhdCI6MTYyMTY3OTI2NSwiZXhwIjoxNjIxNzE1MjY1fQ.OAZ3N0WXuWxnkzkUC1_QGXFkTh8RKIMuLOHJd4DcePE' \
--header 'appId: e32e569e-a391-4aac-a724-432f0e710086' \
--header 'Content-Type: application/json' \
--data-raw '{
"devices": [
{
"id": "608a8d76602fdbfcf1fe46f3",
"name": null
},
{
"id": "608a8d74676586e15a7e0119",
"name": null
}
]
}'