kb
Batch Delete Collections Api
Changed onDelete multiple collections in one request.
For each name, runs the same pipeline as single delete (permissions, physical trash, LanceDB, UploadedFile cleanup). Per-item failures are collected in failed; they do not roll back earlier successful deletions in the batch. LanceDB removal uses delete_collection with tenant-aware user_id and is_admin filtering. Returns deleted and failed name lists.
post/api/kb/collections/batch-delete
Request
- The document declares no server URL.
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Successful Response
Changes
- info
endpoint added
- info