deviceGroupSetColor(...args)

Arguments

deviceGroupId
ID!,non-nullrequired
color
DeviceSetColorInput!,non-nullrequired

Return type

commandId
Mutation sample
mutation deviceGroupSetColor($deviceGroupId: ID!, $color: DeviceSetColorInput!) {
  deviceGroupSetColor(deviceGroupId: $deviceGroupId, color: $color) {
    commandId 
    errors {
      message 
      path 
    }
  }
}
Variables
{ "deviceGroupId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "color": { "hue": 40, "saturation": 40 } }
Response sample
{ "data": { "commandId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "errors": [ { "message": "Example String", "path": "Example String" } ] } }