docstr: Deletes a tag from the current dataset.
  
  Args:
      tag_id:
          The id of the tag to be deleted.
  
  Examples:
      >>> client = ApiWorkflowClient(token="MY_AWESOME_TOKEN")
      >>>
      >>> # Already created some Lightly Worker runs with this dataset
      >>> client.set_dataset_id_by_name("my-dataset")
      >>> filenames = ['image-1.png', 'image-2.png']
      >>> tag_id = client.create_tag_from_filenames(fnames_new_tag=filenames, new_tag_name='new-tag')["id"]
      >>> client.delete_tag_by_id(tag_id=tag_id)
docstr_tok: ["Deletes","a","tag","from","the","current","dataset",".","Args",":","tag_id",":","The","id","of","the","tag","to","be","deleted",".","Examples",":",">",">",">","client","=","ApiWorkflowClient","(","token=","''","MY_AWESOME_TOKEN","''",")",">",">",">",">",">",">","#","Already","created","some","Lightly","Worker","runs","with","this","dataset",">",">",">","client.set_dataset_id_by_name","(","``","my-dataset","''",")",">",">",">","filenames","=","[","'image-1.png","'",",","'image-2.png","'","]",">",">",">","tag_id","=","client.create_tag_from_filenames","(","fnames_new_tag=filenames",",","new_tag_name='new-tag","'",")","[","``","id","''","]",">",">",">","client.delete_tag_by_id","(","tag_id=tag_id",")"]
code: def delete_tag_by_id(self, tag_id: str) -> None:
      """Deletes a tag from the current dataset.
  
      Args:
          tag_id:
              The id of the tag to be deleted.
  
      Examples:
          >>> client = ApiWorkflowClient(token="MY_AWESOME_TOKEN")
          >>>
          >>> # Already created some Lightly Worker runs with this dataset
          >>> client.set_dataset_id_by_name("my-dataset")
          >>> filenames = ['image-1.png', 'image-2.png']
          >>> tag_id = client.create_tag_from_filenames(fnames_new_tag=filenames, new_tag_name='new-tag')["id"]
          >>> client.delete_tag_by_id(tag_id=tag_id)
      """
      self._tags_api.delete_tag_by_tag_id(
          dataset_id=self.dataset_id, tag_id=tag_id
      )
  
file_path: lightly/lightly/api/api_workflow_tags.py
imports: from typing import *
  from lightly.api.bitmask import BitMask
  from lightly.openapi_generated.swagger_client.models import TagArithmeticsOperation, TagArithmeticsRequest, TagBitMaskResponse, TagCreateRequest, TagData
label_desc: Use image node_id 6 for calling the _TagsMixin obj's underlying member method code with example usage: obj.delete_tag_by_id(tag_id) without return types