Solved
cURL command to move asset
Does anyone have a cURL command to move an asset from one directory to another?
Does anyone have a cURL command to move an asset from one directory to another?
Here you go-
curl -u admin:admin -X MOVE https://[aem_server]:[port]/api/assets/source/file.png -H "X-Destination: http://[aem_server]:[port]/api/assets/destination/file.png" -H "X-Overwrite: T"
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.