Update emergency alarm settings
Update settings for the emergency alarm.
If the alarm with the specified ID does not exist, it will be created automatically.
A maximum of 5 emergency alarms can be configured.
Currently only playback duration can be configured.
Path Parameters
- emergency-id int64 required
Possible values:
>= 1Emergency alarm identifier.
- application/json
Request Body required
- duration integer required
Possible values:
>= 1Playback duration in seconds.
Responses
- 200
- 400
- 401
OK
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
- error string
Error information
{
"error": "Wrong JSON body"
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error string
Error information
{
"error": "Log In"
}
{
"error": "Log In"
}
Loading...