Delete cached responses in bulk
Changed onDelete cached responses using exactly one selector: cache_keys, ids, or all: true. Up to 1,000 keys or IDs can be deleted per request. ids uses internal integer IDs and is JWT-only; API-key clients should use cache_keys or all. Rate limit: 60 requests per minute per organization for API-key calls (shared across API keys) and per user for JWT calls.
Request
- Base URLhttps://api.respan.ai
- URLhttps://api.respan.ai/api/caches/bulk/
- Auth
- HTTP bearer
- or HTTP bearer
Request body
Example request
{
"cache_keys": [
"cached_response_550e8400"
],
"ids": [
123,
124,
125
],
"all": true
}Response
Cached responses were deleted synchronously.
Example response
{
"success_count": 1,
"error_count": 0,
"errors": []
}Changes
- breaking
request body became required
- breaking
the
request property's minItems was increased to1 - breaking
the
request property's minItems was increased to1 - breaking
the response's body type changed from
objectto no type for status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - breaking
removed the required property
from the response with the status - info
api operation id
caches_bulkDeleteCachedResponsesremoved and replaced withbulkDeleteCachedResponses - info
the endpoint scheme security
DashboardJwtwas added to the API - info
api tag
Cachesadded - info
api tag
cachesremoved - info
added
subschema #2to the response bodyallOflist for the response status
- breaking
- breaking
the response's body type changed from no type to
objectfor status - info
removed the non-success response with the status
- info
added the required property
to the response with the status
- breaking