Run an Archive Policy

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Runs an archive policy based on the provided policy key.

Note

This Cold Storage feature is available only for Artifactory Enterprise and Enterprise+ users.

Since: Artifactory 7.27.3

Security: Requires an admin user

Usage: POST /api/retention/archive/policies/{key}/trigger

URL Parameters:

Parameters

Type

Description

Required/Optional

key

string

Key of the policy that needs to be run.

Required

Sample Request:

POST /api/retention/archive/policies/example-policy-key/trigger

Sample Response:

Retention policy ‘example-policy-key’ execution request has been accepted for processing.

Status:

200: Success