import os
from unstructured import UnstructuredClient
client = 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
)
taxonomy_operation_response = client.taxonomy.delete(
taxonomy_name="taxonomy_name",
)
print(taxonomy_operation_response.taxonomy_name)
import os
from unstructured import UnstructuredClient
client = 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
)
taxonomy_operation_response = client.taxonomy.delete(
taxonomy_name="taxonomy_name",
)
print(taxonomy_operation_response.taxonomy_name)