Cache
Esta página no está disponible en español. Se muestra la versión en inglés.
Invalidate cache by product
Invalidate Redis cache for /api/v3/keys by product and platform
Authorization
BearerAuthObject AuthorizationBearer <token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v2/cache/invalidate/by-product" \ -H "Content-Type: application/json" \ -d '{ "productId": "01936f1a-5b5a-7000-8000-000000000001", "platform": "web", "storyName": "production" }'{ "keysDeleted": 24}{ "message": { "field": "Error message" }}{ "message": { "error": "Your request was made with invalid credentials." }}{ "message": { "error": "You are not allowed to perform this action." }}{ "message": { "error": "Page not found" }}