Delete explicit cache

DELETE/v1/cachedContents/{id}

Delete a cache you own.

/v1 is the default version; equivalent /v1beta paths remain supported.

Authentication

Send your Token360 API key in x-goog-api-key.

Path Parameters

idstringrequired

The ID segment of the name returned at creation. Treat it as opaque.

Response

Returns HTTP 200 with an empty JSON object {} on success.

Some models do not support deletion (HTTP 501); the cache still expires at its scheduled time.

Request

Shell
1CACHE_NAME='cachedContents/0123456789abcdef0123456789abcdef'
2curl --fail-with-body -X DELETE "https://api.token360.ai/v1/$CACHE_NAME" \
3  -H "x-goog-api-key: $TOKEN360_API_KEY"

Response

JSON
1{}
Was this page helpful?
Delete explicit cache · Token360