Delete Policy

Xray REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Deletes an existing policy.

Security: Requires the "Manage Watches" role to be set on the User or Group level.

Usage: DELETE /policies/{policy_name}

Response:

{
    "info": "Policy policy_name was deleted successfully"
}

Response Codes:200: Success - policy deleted

404: Policy not found

500: Failed to delete policy