Actions16
- Content Actions
- Cached Content Actions
- Embedding Actions
- File Actions
- Model Actions
- Token Actions
File → Delete
AI-generatedSummary
Delete a file resource from the Google Gemini AI Studio Files API by specifying its Gemini file resource name.
Inputs
- File Name (required) — The Gemini file resource name identifying the file to delete, e.g., 'files/abc123'.
Output shape
a single JSON object
Returns the JSON response from the Gemini API deletion request, paired with the input item index.
Examples
Example 1: Delete a Gemini file by specifying its unique file resource name
Set 'Resource' to 'File', 'Operation' to 'Delete', and provide the 'File Name' parameter with the target Gemini file resource name.