Delete Policy

JFrog REST APIs

Content Type
REST API

Description: Deletes a lifecycle policy. If the policy is locked or otherwise restricted, the request may return 409 Conflict.

Usage: DELETE https://{{artifactory-host}}/unifiedpolicy/api/v1/policies/{policyId}

Path Parameters:

Name

Type

Required

Description

policyId

string

Yes

Policy identifier.

Status Codes

Code

Status

204

Policy deleted successfully

401

Unauthorized

403

Forbidden

404

Policy not found

409

Conflict (e.g., policy locked/immutable)

500

Internal Server Error