cURL command to move asset | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Kunal_Gaba_

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"

1 reply

Kunal_Gaba_
Kunal_Gaba_Accepted solution
January 16, 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"
jkpanera
jkpaneraAuthor
January 16, 2021
Hmmm, it seems this command is for 6.5. Do you have one for 6.3?