Skip to content

System generated reset redis cache third party api

  • To reset redis cache of the installed third party APIs.

Request Method: POST

URL

/api/system-api/user-path/reset-redis-cache-third-party-apis

Request payload

  • Reset single third party APIs redis cache.
{
    "apiBundleName": "bundle_name",
    "apiVersionName": "api_version_name"
}
  • Reset redis cache of multiple third party APIs.
[
    {
        "apiBundleName": "bundle_name",
        "apiVersionName": "api_version_name"
    },
    {
        "apiBundleName": "bundle_name",
        "apiVersionName": "api_version_name"
    }
]

Reset cache of Third party APIs

Reset Third party API cache using global object 'g'.

1
2
3
4
await g.sys.cache.resetCacheThirdPartyApis({
    "apiBundleName": "bundle_name",
    "apiVersionName": "api_version_name"
});

API Response

{
    "success": true,
    "statusCode": 200,
    "data": 2
}