Skip to main content
DELETE
Delete a cache
BaseURL: The default BaseURL is https://direct.evolink.ai, which has better support for text models and long-lived connections. https://api.evolink.ai is the primary endpoint for multimodal services and serves as a fallback address for text models.
A deleted cache can no longer be referenced. Storage fees already charged are not refunded.

Authorizations

Authorization
string
header
required

All endpoints require Bearer Token authentication

Get an API Key:

Visit API Key Management to get your API Key.

Add this request header:

The Gemini native format is also accepted: the x-goog-api-key: YOUR_API_KEY header or the ?key=YOUR_API_KEY URL parameter.

Path Parameters

id
string
required

Cache ID: the name returned on creation, without the cachedContents/ prefix. For example, if name is cachedContents/20261103012026348092000s1oTuB96, use 20261103012026348092000s1oTuB96 here.

Example:

"20261103012026348092000s1oTuB96"

Response

Deleted; returns an empty object

The response is of type object.