Delete

Function

This API is used to delete imported audio files.

Request Message

Parameter Description

Table 1
ParameterRangeTypeDescription
channel_infoobjectTotal channel information see Table 2.
Table 2
ParameterRangeTypeDescription
CH1objectSee Table 3
object
IP_CH1object
object
WIFI_CH1object
object
Table 3
ParameterRangeTypeDescription
siren_type"Alarm1",
"Alarm2",
"User-defined1",
"User-defined2",
"User-defined3"
stringAlarm alarm station Select Audio("Alarm1", "Alarm2"
It is the system's own audio and cannot be deleted).

Sample:

POST /API/AlarmConfig/VoiceAlarm/Delete HTTP/1.1
{
    "version": "1.0",
    "data": {
        "channel_info": {
            "CH1": {
                "siren_type": "User-defined2"
            }
        }
    }
}

Response Message

Sample:

HTTP/1.1 200 OK
Content-Type: application/json
{
    "result": "success",
    "data": {}
}

Error Code

See Response Messages Body and Common error_code for more information.