jkpanera
15-01-2021
Does anyone have a cURL command to move an asset from one directory to another?
kunal23
MVP
16-01-2021
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"