iai collections chunks bulk-delete
Delete many chunks by ids, metadata filter, or all
Synopsis
Delete chunks by exactly one selector: --ids, --filter, or --all.
--all deletes every chunk and requires confirmation.
iai collections chunks bulk-delete <collection> [flags]Examples
iai collections chunks bulk-delete docs -d my-db --ids a,b,c
iai collections chunks bulk-delete docs -d my-db --filter '{"lang":"en"}'
iai collections chunks bulk-delete docs -d my-db --allOptions
--all Delete every chunk (requires confirm)
-d, --database string Database that holds the collection (required)
--filter string Metadata filter as a JSON object
-h, --help help for bulk-delete
--ids strings Comma-separated chunk ids to delete
--json Output raw API response as JSON
-o, --organization string Organization name
-p, --project string Project name
--yaml Output raw API response as YAML
--yes Skip the --all confirmation promptOptions inherited from parent commands
SEE ALSO
iai collections chunks - Manage the chunks (rows) in a collection
Last updated
Was this helpful?

