# Remove file from vector store div strong 🔨 In Development — This section is still being developed and may change. Remove a file from a vector store, making it unavailable for semantic search. Removes a file from the vector store index. The file itself remains in organization storage and can be re-added later. #### Path Parameters **`organization_id`** string required The unique identifier of the organization. **`vector_store_id`** string required The unique identifier of the vector store. **`file_id`** string required The unique identifier of the file to remove. ## Returns A deletion confirmation response. Request ```bash curl -X DELETE "https://api.freddy.aitronos.com/v1/organizations/org_abc123/vector-stores/vs_abc123/files/file_abc123" \ -H "X-API-Key: $FREDDY_API_KEY" ``` ```python from freddy import FreddyClient with FreddyClient(api_key="your-api-key") as client: result = client.vector_stores.delete_file( organization_id="org_abc123", vector_store_id="vs_abc123", file_id="file_abc123" ) print(f"Removed: {result.deleted}") ``` ```python import requests response = requests.delete( "https://api.freddy.aitronos.com/v1/organizations/org_abc123/vector-stores/vs_abc123/files/file_abc123", headers={"X-API-Key": api_key} ) ``` ## Response 200 OK ```json { "id": "file_abc123", "vectorStoreId": "vs_abc123", "deleted": true } ``` Errors **404 Not Found** ```json { "error": { "message": "File not found in vector store", "type": "not_found_error", "code": "file_not_found" } } ``` ## Related Resources - [Add File to Vector Store](/docs/api-reference/vector-stores/add-file) - [List Files in Vector Store](/docs/api-reference/vector-stores/list-files) - [Delete File](/docs/api-reference/files/delete)