Delete Expired API Cache

This will clear expired cached API records created earlier than today.

Applies to

All releases

Apex Name

startDeleteExpiredCacheJobs method in TelcoAdminConsoleHandler

Where to Run This Job

Cacheable API Jobs link on the CMT Administration tab.

Risks of Running This Job

Low risk. This job deletes cached information that is no longer accessible due to its expiration time.

When Not to Run This Job

N/A

When to Run This Job

Run this job regularly to keep the number of cached records at a minimum.

More Information

Cacheable API information is cached in the CachedAPIResponse object with expiration times; the expiry date is set when you run the Populate API Cache job.

Records with expiration times in the past are no longer accessible by the Digital Commerce APIs. This job deletes records that are older than midnight of the day the batch job was executed.