Additional context
This appears to be fixed in the 2.3.7.6 portion of the SDK based on the code changes I see but haven't tested. Fix should be back ported to previous versions.
dnacentersdk/api/v2_3_7_6/tag.py
def update_tag_membership(self,
memberToTags=None,
memberType=None,
headers=None,
payload=None,
active_validation=True,
**request_parameters):
"""Update tag membership. As part of the request payload through this API, only the specified members are added /
retained to the given input tags. Possible values of memberType attribute in the request payload can be
queried by using the /tag/member/type API .
Args:
memberToTags(object): Tag's memberToTags.
Prerequisites
Describe the bug updates_tag_membership in 2.3.5.3 and prior versions is looking for a List for the variable memberToTags.
Expected behavior This is incorrect as API calls are expecting an Object not a List.
Screenshots 2.3.5.5: Non-working:
Working:
Environment (please complete the following information):
Cisco DNA Center Version and patch: 2.3.5.5
Python version: 3.11.2
SDK version:
OS Version:
Additional context This appears to be fixed in the 2.3.7.6 portion of the SDK based on the code changes I see but haven't tested. Fix should be back ported to previous versions.
dnacentersdk/api/v2_3_7_6/tag.py