TokenLab

Gemini Files 與快取

刪除 Gemini 快取內容

刪除快取內容。

DELETE
/v1beta/cachedContents/{cacheId}
刪除快取內容。刪除後無法再用於後續生成。資源僅能在其所屬的工作區中進行讀取、參照、變更或刪除。
curl -X DELETE "https://example.com/v1beta/cachedContents/string"
{}

授權

AuthorizationBearer <token>

API Key 驗證。請在 Dashboard > API > API Keys 建立或管理 API 金鑰。

位置: header

路徑參數

cacheId*string

查詢參數

key?string

作為 Bearer 或 x-goog-api-key 的 API key 替代方案。

回應

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json