{"uid":"cap_sTHPxJAXhKrPYq-1QR-hv","slug":"google-gemini--523ff2d0","name":"Google Gemini Delete Uploaded File","description":"Delete an uploaded file (free)","url":"https://gemini.mpp.tempo.xyz/:version/files/*?utm_source=zero.xyz","method":"DELETE","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["llm","gemini","veo","imagen","video","multimodal","ai","media"],"displayCostAmount":"0","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"unprobed","priceSource":"unknown","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"free","summary":"Free","primary":null,"accepted":[]},"paymentMethods":[],"brandName":"Google Gemini","brandSlug":"google-gemini","brandBaseUrl":"https://ai.google.dev","brandDocsUrl":"https://ai.google.dev/docs","whatItDoes":"Permanently deletes a previously uploaded file from the Gemini Files API by its file identifier","exampleAgentPrompt":"Delete the file I uploaded to Gemini earlier — the one with ID 'files/abc123xyz' — I'm done with it and want to remove it from storage.","exampleUseCases":[{"title":"Clean up analysis files after report","prompt":"I've finished analyzing those documents I uploaded to Gemini earlier. Can you delete the file with ID 'files/doc_analysis_2024' to free up my storage quota?"},{"title":"Remove temporary video upload","prompt":"I sent a large video file to Gemini for transcription, but I don't need to keep it anymore. Please delete the file 'files/video_temp_456' from my Gemini storage."},{"title":"Purge old files for compliance","prompt":"Our data retention policy requires us to delete files older than 30 days. I've identified several Gemini uploads we no longer need — can you remove the file 'files/archive_2024_old' to help us stay compliant?"}],"resultDescription":"Returns an empty response (HTTP 200) confirming the file has been permanently deleted from the Gemini Files API. If the file does not exist or was already deleted, an error response is returned.","failureModes":["File not found — if the file ID does not exist or was already deleted, a 404 error is returned","Invalid version parameter — using an unsupported API version returns a 400 or 404 error","Unauthorized — missing or invalid API credentials return a 401 or 403 error","File ID malformed — improperly formatted file identifier returns a 400 bad request error"],"whenToPreferThis":"Use this endpoint when you need to remove a specific previously uploaded file from the Gemini Files API, such as after processing is complete, to comply with data retention policies, or to free up storage quota. Choose this over alternatives when you have a known Gemini file ID and need a targeted, immediate deletion rather than a bulk cleanup.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T17:08:14.986Z","isFirstParty":false,"canonicalSlug":"google-gemini--523ff2d0"}