REST API Test Page
Operation
PUT
on
/actionGroups
Update an action group
Produces
: application/json
Parameters
Name
Type
Value
Description
preventLockLevelReset
Request Parameter
Do not reset command lock levels
(JSON)
Request Body
{ "label" : "a managed action group label", "metadata" : "some metadata", "shortcut" : true, "notificationTypeMask" : 1, "notificationCondition" : "ON_SUCCESS", "notificationText" : "a notification text", "notificationTitle" : "a notification title", "targetEmailAddresses" : [ "some target email addresses" ], "targetPhoneNumbers" : [ "some target phone numbers" ], "targetPushSubscriptions" : [ "some target push subscriptions" ], "actions" : [ { "deviceURL" : "device URL (<protocol>://<gatewayId>/<deviceAddress>[#<subsystemId>])", "commands" : [ { "type" : 1, "name" : "a command name", "parameters" : [ "some parameters" ], "sensitiveParametersIndexes" : [ 1 ], "authentication" : "an authentication", "delay" : 1, "lockLevel" : 5 } ] } ], "oid" : "the managed action group UUID" }
*
An action group definition, containing the OID of the target action group to update
Result
HTTP Status :