Sign in to Community
Sign in to view all badges
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"