Update Item Properties

JFrog REST APIs

Products
JFrog Xray
Content Type
REST API
ft:sourceType
Paligo

Description: Attach and modify properties to an item: file, folder, or repository. Property attachment is recursive by default. Supported by local and local-cached repositories.

Notes: Requires Artifactory Pro.

Since: 6.1.0

Security: Requires a privileged user (Annotate authorization required)

Usage: PATCH /api/metadata/{repoKey}/{itemPath}?[&recursiveProperties=0]

Consumes: application/json

Sample Usage:

PATCH /api/metadata/libs-release-local/org/acme?&recursiveProperties=0&atomicProperties=0
{
    "props":{
        "newKey": "newValue",
        "existingKey": "modifiedValue",
        "toBeRemovedKey": null
    }
}