🎐PUT - Group Device Tag

my_api.put.group_device_tag()

Update a single tag assigned to a 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.

  • tag_name (str): Name of the tag to add or update.

  • tag_value (str): Value of tag to add or update.

Returns

  • Dict: Python dictionary of the new state after updates have been applied.

How To Use:

from odins_spear import api

my_api= api.Api(base_url="https://base_url/api/vx", username="john.smith", password="ODIN_INSTANCE_1")
my_api.authenticate()

my_api.put.group_device_tag(
    "servivce_provider_id",
    "group_id",
    "device_name",
    tag_name= "tagName",
    tag_value= "tagValue"
)

Last updated