# Cache

## Clear all cached data for the tenant

> Removes all cached entries for the current tenant from the distributed cache system (FusionCache).\
> \
> \## Use Cases\
> \- Force refresh of configuration changes\
> \- Clear stale data after external updates\
> \- Troubleshoot caching issues\
> \- Reset state during development/testing\
> \
> \## Authorization\
> Requires \`Cache.Write\` scope permission.\
> \
> \## Impact\
> \- Subsequent requests will regenerate cached data\
> \- May cause temporary performance degradation\
> \- Only affects the specified tenant's cache

```json
{"openapi":"3.1.1","info":{"title":"Neostore internal API","version":"v1"},"tags":[{"name":"Cache"}],"servers":[{"url":"https://app.neostore.cloud","description":"Production Server"},{"url":"https://app-qa.neostore.cloud","description":"Staging Server"}],"security":[{"admin-bearer":["ScopedAuthorizeRequirement"]},{"apiKey":["ScopedAuthorizeRequirement"]}],"components":{"securitySchemes":{"admin-bearer":{"type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://auth.neostore.cloud/authorize?audience=https://app.neostore.cloud/api/","scopes":{}}}},"apiKey":{"type":"apiKey","name":"X-API-KEY","in":"header"}}},"paths":{"/api/{tenantId}/cache":{"delete":{"tags":["Cache"],"summary":"Clear all cached data for the tenant","description":"Removes all cached entries for the current tenant from the distributed cache system (FusionCache).\n\n## Use Cases\n- Force refresh of configuration changes\n- Clear stale data after external updates\n- Troubleshoot caching issues\n- Reset state during development/testing\n\n## Authorization\nRequires `Cache.Write` scope permission.\n\n## Impact\n- Subsequent requests will regenerate cached data\n- May cause temporary performance degradation\n- Only affects the specified tenant's cache","parameters":[{"name":"tenantId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"Cache cleared successfully for the tenant."}}}}}}
```
