Returns (Task)
Adjust the status of the designated Controller.
Name | Description |
---|---|
controller | |
status |
Example in C#
// Returns: nothing
await client.UpdateControllerStatusAsync(ControllerInfo controller, ControllerStatusItem status);
Example in CURL
curl -X PUT \
https://api.us.acresecurity.cloud/api/f/INSTANCE.KEY/controllers/CONTROLLER.KEY/status \
-H 'Authorization: Bearer TOKEN_GOES_HERE' \
-H 'Content-Type: application/json' \
-D '{
"$type":"Feenics.Keep.WebApi.Model.ControllerStatusItem, Feenics.Keep.WebApi.Model",
"IsTampered":true,
"IsFaulted":true,
"IsBatteryLow":true,
"IsOnline":true,
"IsUpdating":true
}'