Skip to main content
POST
/
taxonomy
/
upsert
Python
from unstructured import UnstructuredClient

client = UnstructuredClient(
    username="My Username",
    password="My Password",
)
taxonomy_operation_response = client.taxonomy.upsert(
    taxonomy_name="taxonomy_name",
)
print(taxonomy_operation_response.taxonomy_name)
{
  "taxonomy_name": "<string>"
}

Body

application/json
taxonomy_name
string
required
new_taxonomy_name
string | null
taxonomy_description
string | null
taxonomy_data
Taxonomy Data · object

Response

Successful Response

taxonomy_name
string
required