import osfrom unstructured import UnstructuredClientclient = UnstructuredClient( username=os.environ.get("UNSTRUCTURED_USERNAME"), # This is the default and can be omitted password=os.environ.get("UNSTRUCTURED_PASSWORD"), # This is the default and can be omitted)tag = client.tags.update( tag_data={ "name": "name" },)print(tag.tag)
{ "tag_name": "<string>", "tag": {}}
Tags
Update Tag Route
Update an existing tag
Attributes:
tag_data: The tag data to update the tag with.
PUT
/
tags
/
update
Python
import osfrom unstructured import UnstructuredClientclient = UnstructuredClient( username=os.environ.get("UNSTRUCTURED_USERNAME"), # This is the default and can be omitted password=os.environ.get("UNSTRUCTURED_PASSWORD"), # This is the default and can be omitted)tag = client.tags.update( tag_data={ "name": "name" },)print(tag.tag)