Skip to content
This page View Markdown Open in ChatGPT Open in Claude

Reset system API cache

g.sys.cache.resetCacheSystemApis calls the reset system API cache system API from your code.

Reset cache of system API

Reset cache of system API using global object 'g'.

await g.sys.cache.resetCacheSystemApis("SYSTEM_API_NAME");

Multi-tenant

  • The cache of a system API called for one tenant of a multi-tenant instance, with the x-am-tenant-username header. Without a tenant, the cache of every tenant is reset too.
await g.sys.cache.resetCacheSystemApis({ name: "SYSTEM_API_NAME", tenantUsername: "acme" });