Gemini Resources

Delete Gemini cached content

Deletes cached content. It cannot be used by subsequent generation after 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/cachedContents/{cacheId}

Request

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

Path parameters

cacheIdstring 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.