Gemini Resources

Delete Gemini file

Deletes a Gemini file. Save anything needed before deletion. Resources can only be read, referenced, changed, or deleted in their owning Workspace. Missing, expired, or inaccessible resources return a Gemini-format error.

delete/v1beta/files/{fileId}

Request

  • Base URL: https://api.tokenlab.sh
  • URL: https://api.tokenlab.sh/v1beta/files/{fileId}
  • Auth: one of:
    • HTTP bearer
    • API key in header x-goog-api-key

Path parameters

fileIdstring required

Query parameters

keystring

API key alternative to Bearer or x-goog-api-key.

Response

Success

object required

Changes

No recorded changes to this operation across all 1 revision of this API.