Update a single group by address
Request
Send your HTTP requests with an Authorization
header that contains the word Basic followed by a space and a base64-encoded string username:password Example:Authorization: Basic *****************
Body Params application/json
{
"address": "0fcf4e82-e1a1-4f72-93fc-5b44c605980c",
"gatewayUuid": "{{gateway-uuid}}",
"name": "{{$commerce.productName}}",
"ownerCMS": "{{guia-uuid}}",
"members": [
{
"resource": "devices",
"address": "{{device-uuid}}"
}
],
"purpose": "unknown"
}
Request Code Samples
curl --location --request PUT 'https://iot.exati.com.br/staging/guia/groups/0fcf4e82-e1a1-4f72-93fc-5b44c605980c?vendorUuid&clientAddress' \
--header 'x-guia-uuid;' \
--header 'Authorization: Basic <encoded-value>' \
--header 'Content-Type: application/json' \
--data-raw '{
"address": "0fcf4e82-e1a1-4f72-93fc-5b44c605980c",
"gatewayUuid": "",
"name": "{{$commerce.productName}}",
"ownerCMS": "77b18365-7e9a-4423-a8c2-8b03d49af737",
"members": [
{
"resource": "devices",
"address": "{{device-uuid}}"
}
],
"purpose": "unknown"
}'
Responses
application/json
The group is successfully updated
{
"address": "string",
"name": "string",
"ownerCMS": "string",
"members": [
{
"resource": "groups",
"address": "string"
}
],
"purpose": "unknown"
}
Modified at 2025-07-31 11:20:43