setCollectiveAlarmForHomeHubs(...args)

Arguments

homeId
ID!,non-nullrequired
active
Boolean!,non-nullrequired
alarmType
AlarmType!,non-nullrequired

Return type

Mutation sample
mutation setCollectiveAlarmForHomeHubs(
  $homeId: ID!
  $active: Boolean!
  $alarmType: AlarmType!
) {
  setCollectiveAlarmForHomeHubs(
    homeId: $homeId
    active: $active
    alarmType: $alarmType
  ) {
    errors {
      message 
      path 
    }
  }
}
Variables
{ "homeId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "active": true, "alarmType": "FIRE" }
Response sample
{ "data": { "errors": [ { "message": "Example String", "path": "Example String" } ] } }