# 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."}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.thewalletcrew.io/api-reference/tools/cache.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
