Prerequisites
Describe the bug
The documentation of this function is very confusing for me
https://dnacentersdk.readthedocs.io/en/latest/api/api.html#dnacentersdk.api.v3_1_3_0.tag.Tag.add_members_to_the_tag
Can you provide a example of how to use it ?
The DNA API only request a payload like this :
{"networkdevice" : ["6eea7bb4-4bb3-4c75-86a6-aa790d17f52d"]}
but the documentation of the function mention the memberType parameter wich is a list of string
I was able to use the function like this :
p = {"networkdevice" : ["6eea7bb4-4bb3-4c75-86a6-aa790d17f52d"]}
dna.tag.add_members_to_the_tag(id='3529f14c-7e95-49ec-a80a-22507b1113af', payload=p)
But I don't know if it's the right way to use it. Can you tell me what is the purpose of the memberType parameter ? Thanks
Prerequisites
Describe the bug
The documentation of this function is very confusing for me
https://dnacentersdk.readthedocs.io/en/latest/api/api.html#dnacentersdk.api.v3_1_3_0.tag.Tag.add_members_to_the_tag
Can you provide a example of how to use it ?
The DNA API only request a payload like this :
{"networkdevice" : ["6eea7bb4-4bb3-4c75-86a6-aa790d17f52d"]}
but the documentation of the function mention the memberType parameter wich is a list of string
I was able to use the function like this :
p = {"networkdevice" : ["6eea7bb4-4bb3-4c75-86a6-aa790d17f52d"]}
dna.tag.add_members_to_the_tag(id='3529f14c-7e95-49ec-a80a-22507b1113af', payload=p)
But I don't know if it's the right way to use it. Can you tell me what is the purpose of the memberType parameter ? Thanks