Invoke trimming on the local cache of tiered storage objects. If no parameters are included, this endpoint by default trims the cache to the maximum cache size given by the cluster config. Use the bytes and objects parameters to specify the number of bytes and objects to retain in the cache.
POST
/v1/cloud_storage/cache/trim
curl \
--request POST 'http://localhost:9644/v1/cloud_storage/cache/trim'