Endpoint
Path parameters
string
required
Path to the file relative to the storage root.
photo.jpg · photos/portrait.jpgWhat gets cleared
- Local cache, transformation variants stored on disk
- Cloud cache, transformation variants stored in S3-compatible storage (if configured)
- In-memory cache, cached metadata entries for the file
Response
boolean
true only when nothing failed. It is computed as errors.length === 0, so a
single non-fatal cleanup error makes it false even though the variants that
could be removed were removed. Read details.errors to see what actually
happened.string
Human-readable result summary.
object
200 success (or partial) · 400 path missing · 500 error
Example
Clear the entire cache
200 success · 500 a cache backend failed
Related
Delete File
Permanently remove a file and all its cached variants.
Transform
Apply transformations, results are cached automatically.