SecurityArmed
Enable / disable security feature. If the security is enabled, removal of a device from a port will sound an alarm (if installed) and flash lights (if installed).
Syntax: see Call Structure
{ "method": "cbrx_connection_set", "params": [ connection-handle, "SecurityArmed", Value ] } |
Parameter | Description |
---|---|
connection-handle | The Connection Handles as an integer |
Value | The value you wish to set for the key |
Value | Description |
---|---|
true | enable security |
false | disable security |
Returns:
{ "result": true } |
Errors
If there is an error in the API method then a JSON-RPC Error Object will be returned.
Example
Copy
{
"id": 0,
"jsonrpc": "2.0",
"method": "cbrx_connection_set",
"params": [
7654,
"SecurityArmed",
"true"
]
}