Skip to main content
POST
/
metadata
/
delete
/
values
Python
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
)
response = client.metadata.delete_values(
    data_connector_name="data_connector_name",
    tag_name="tag_name",
    values=["string"],
)
print(response.chunks_modified_count)
{
  "success": true,
  "files_modified_count": 123,
  "chunks_modified_count": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.deasylabs.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Body

application/json
tag_name
string
required
values
string[]
required
data_connector_name
string
required
dataslice_id
string | null

Response

Successful Response

success
boolean
required
files_modified_count
integer
required
chunks_modified_count
integer
required