Delete an Archive Policy

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Deletes an existing archive policy based on 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: DELETE /api/retention/archive/policies/{key}

URL Parameters:

Parameters

Type

Description

Required/Optional

key

string

Key of the policy that needs to be deleted.

Required

Sample Request:

DELETE /api/retention/archive/policies/example-policy-key

Sample Response:

Retention policy example-policy-key was deleted successfully.

Status:

201: Success