Gemini AI Studio icon

Gemini AI Studio

Use the Google Gemini API through direct AI Studio REST calls

Actions16

File → Delete

AI-generated

Summary

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.

Links

Discussion