Tag
Last Updated:2020-09-01
Unbind Instance Tag
Unbind the existing tags of the instance with the following codes.
def unbind_tags(self):
# Set the instance_id you want to operate
instance_id = 'your-choose-instance-id'
# Set the tag you want to unbind
change_tags = [{"tagKey" : "test_key", "tagValye" : "test_val"}]
self.client.unbind_tags(instance_id = instance_id, change_tags = change_tags)