# Trim tiered storage cache **POST /v1/cloud_storage/cache/trim** 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. ## Servers - http://localhost:9644: http://localhost:9644 () ## Parameters ### Query parameters - **objects** (integer) Target number of objects to retain in the cache - **bytes** (integer) Target number of bytes to retain in the cache ## Responses ### 200 Success [Powered by Bump.sh](https://bump.sh)