Mute Host Group

Last Updated on : 2023-06-20 14:54:09

After a perimeter device sends an alarm, this API can be called to mute the host group. After receiving the command, the perimeter host device will perform a group muting operation in a sub-area and turn off the alarm sound.

API address

POST: /v1.0/intrusion/{device_id}/actions/group-silence

Request parameter

Parameter nameTypeINRequiredDescription
device_idStringuritrueThe ID of a Tuya device.

Description of body

Parameter nameTypeINRequiredDescription
area_idLong trueThe ID of a specified area.

Return parameter

Parameter nameTypeDescription
resultCmdIssueResultResponseThe returned result.

Description of result

Parameter nameTypeDescription
snStringThe command record ID.

Request example

POST: /v1.0/intrusion/6ce****/actions/group-silence
{
  "areaId": "573****"
}

Return example

{
    "result": {
        "sn": "133****"
    },
    "t": 1561456817168,
    "success": true
}

Error code

For more information, see error code.