Update Item Properties

JFrog REST APIs

ft:sourceType
Paligo

Description: Attach and modify properties to an item: file or folder. Property attachment is recursive and atomic by default.

If the atomicProperties parameter is evaluated as 0 (1/ true by default), the request will be performed in multiple transactions, a different transaction per node (folder or file). 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][&atomicProperties=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
    }
}