Set the beeper
1. API Description
This API is used to set the beeper. When it is true, if there is an alert, the beeper beeps; when it is false, if there is an alert, the beeper does not beep.
Request mode: POST [ip]/api/chassis/set-beeper
Administrator Rights | Logged-in |
---|---|
No | Yes |
2. Input Parameters
Name | Required | Type | Description |
---|---|---|---|
beeper-enable | Yes | Boolean | Whether to enable the beeper true: Yes; false: No |
3. Output Parameters
Name | Type | Description |
---|---|---|
status | Int | Status code |
code | String | Status description |
4. Example
Setting the beeper.
Input Example
{
"beeper-enable": false
}
Output Example
{
"status": 0,
"code": "Success"
}
5. Error Code
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Status | Definition | Description |
---|---|---|
7 | MW_STATUS_INVALID_ARG | Missing required parameters |