Zap Cache

JFrog REST APIs

Content Type
REST API
ft:sourceType
Paligo

Description: "Zapping" a cache means forcing the Retrieval Cache Period and Missed Retrieval Cache Period to time out. You can also zap cache on an entire repository.

Since: 7.49.3

Security: Requires a privileged user, Requires delete permissions

Usage: POST https://<host>/artifactory/api/zap/<repository-name>-cache/<repository-path>

Sample Usage:

POST https://localhost:8081/artifactory/api/zap/repo1-cache/com/acme-new

Sample Output:

{“Message”:”Completed zapping cache in path repo1-cache/com/acme-new”}