Delete an item.
delete_item(
self,
namespace: Sequence[str],
,
key: str,
headers: Mapping[str, str] | None = None,
params: QueryParamTypes | None = None
) -> Noneclient = get_sync_client(url="http://localhost:8123")
client.store.delete_item(
["documents", "user123"],
key="item456",
)| Name | Type | Description |
|---|---|---|
key* | str | The unique identifier for the item. |
namespace* | Sequence[str] | Optional list of strings representing the namespace path. |
headers | Mapping[str, str] | None | Default: NoneOptional custom headers to include with the request. |
params | QueryParamTypes | None | Default: NoneOptional query parameters to include with the request. |