UpdateControllerStatusAsync

Returns (Task)

Adjust the status of the designated Controller.

Name Description
controller
status

Update Controller Status Async

Example in C#

// Returns: nothing
await client.UpdateControllerStatusAsync(MercuryControllerInfo controller, ControllerStatusItem status)

Example in CURL



           curl -X PUT \
               https://keepapi.feenicshosting.com/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
                   }'