Move Item



Description: Moves an artifact or a folder to the specified destination. Supported by local repositories only.

Optionally suppress cross-layout module path translation during move.

You can test the move using dry run.

Move item behaves similarly to a standard file system and supports renames. If the target path does not exist, the source item is moved and optionally renamed. Otherwise, if the target exists and it is a directory,

the source is moved and placed under the target directory.

Notes: Requires Artifactory Pro

Security: Requires a privileged user (can be anonymous)

Usage: POST /api/move/{srcRepoKey}/{srcFilePath}?to=/{targetRepoKey}/{targetFilePath}[&dry=1][&suppressLayouts=0/1(default)][&failFast=0/1]

Produces: application/json (application/

Since: 2.2.2

Sample Output:

POST /api/move/libs-release-local/org/acme?to=/ext-releases-local/org/acme-new&dry=1
"messages" : [
             "level": "error",
             "message": "The repository has denied...."