Gemini File Search Stores icon

Gemini File Search Stores

Manage File Search stores for Gemini RAG operations

Delete

AI-generated

Summary

Delete a File Search store.

Inputs

  • storeName (required) — The File Search store to delete, expressed as a name (e.g., from list or fileSearchStores/...).
  • force — Delete the store even if it contains documents.

Output shape

success response; no body returned on success, error on failure

Deletion may fail if store cannot be removed; force flag bypasses confirmation.

Examples

Example 1: Delete a store selected from the list

storeName: fileSearchStores/my-store-123, force: false

Example 2: Force delete a store with documents

storeName: my-store, force: true

Example 3: Delete a store by name without forcing

storeName: fileSearchStores/another-store

Discussion