Gemini Files & Cache
Delete Gemini cached content
Deletes 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.
curl -X DELETE "https://example.com/v1beta/cachedContents/string"{}AuthorizationBearer <token>
API Key authentication. Create or manage API keys in Dashboard > API > API Keys.
In: header
Path Parameters
cacheId*string
Query Parameters
key?string
API key alternative to Bearer or x-goog-api-key.
Response
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json