PUT - Group Device Tags Profile
Update a config file for a single device at the Group level.
Parameters
service_provider_id (str): Service Provider or Enterprise ID where Group is located.
group_id (str): Group ID where target device is located.
device_name (str): Device name of the target device.
tags (dict): List of dictionaries tag name and value entries.
Returns
Dict: Python dictionary of the new state after updates have been applied.
How To Use:
tags = [
{
"tagName": "%LK-SDial-Lbl4%",
"tagValue": "label4",
},
{
"tagName": "%LK-SDial-Str4%",
"tagValue": "string4",
},
{
"tagName": "%test%",
"tagValue": "testing",
"actualTagValue": "testing"
},
{
"tagName": "%testing%",
"tagValue": "testing2",
}
]
my_api.devices.put_group_device_tags_profile(
"servivce_provider_id",
"group_id",
"device_name",
tags=tags
)
Last updated
Was this helpful?