Skip to main content
DELETE
/
genai
/
v1beta
/
files
/
{file_id}
Delete file (Gemini format)
curl --request DELETE \
  --url http://localhost:8080/genai/v1beta/files/{file_id}
{}

Path Parameters

file_id
string
required

File ID to delete

Response

Successful response (empty)

Empty response on successful deletion