{"templateId":"openapi_docs","sharedDataIds":{"openAPIDocsStore":"oas-sai/cache-api/index.yaml","sidebar":"sidebar-sidebar.yaml__sai_cache-api","current-catalog-info":"current-catalog-info-/sai/cache-api"},"props":{"definitionId":"sai/cache-api/index.yaml","dynamicMarkdocComponents":[],"baseSlug":"/sai/cache-api","seo":{"title":"Cache API","siteUrl":"https://api-docs.sitecore.com","image":"/assets/favicon.19b81ef710429ff2169b164acdb39de23d65db39632db445eeef84aa38980a00.db81178d.svg","keywords":"documentation, api","lang":"en-US","jsonLd":{"@context":"https://schema.org","@type":"Website","url":"http://api-docs.sitecore.com","name":"Sitecore APIs Documentation"},"llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"itemId":"","disableAutoScroll":true,"metadata":{"type":"openapi","title":"Cache API","description":"Use the XM Cloud Content Cache API to clear parts of the cache for GraphQL requests. This REST API lets you clean up a cache for a specific tenant. It is rate limited to 10 requests per second per tenant.\n{% admonition type=\"warning\" name=\"Warning\" %}Clearing the cache can have a negative effect on the performance of the tenant application because all GraphQL requests must be executed fully. We recommend that you do not clear the caches or call this API as part of a build process.{% /admonition %}\n## Authentication\nTo use this API, you need:\n - The URL of your XM Cloud Content server. You can get this from your XM Cloud Administer.\n - A JWT bearer token requested using the [OAuth Client Credentials flow](https://doc.sitecore.com/xmc/en/developers/xm-cloud/request-a-jwt-for-experience-edge.html). It is sent with every request. The token must include the `cs:all:admin` scope.\n","product":"SitecoreAI Content"},"compilationErrors":[],"markdown":{"partials":{},"variables":{"rbac":{"teams":["anonymous"]},"user":{},"remoteAddr":{"hostname":"api-docs.sitecore.com","port":4000,"ipAddress":"216.73.216.68"},"lang":"default_locale","env":{"PUBLIC_REDOCLY_BRANCH_NAME":"master"}}},"pagePropGetterError":{"message":"","name":""}},"slug":"/sai/cache-api","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}