Clear system cache

POSThttps://app.speybooks.com/api/v1/admin/system/clear-cache

Flush the server's in-memory caches and report how many entries were cleared.

Typical uses: after a manual data change made outside the application, after a settings change that affects cached values, or during incident response. Expect the first requests afterwards to be slower until the caches refill.

Records a CACHE_CLEARED action in the audit log.

Response

200All in-memory caches flushed. Returns number of keys cleared.
Show response fields
keysClearedinteger
messagestring

Error codes

400Cache flush failed.