百度智能云

All Product Document

          Baremetal Compute Sevice

          Tag

          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) 
          Previous
          Operation Log
          Next
          Python_SDK