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.
Kunal_Gaba_
Kunal_Gaba_Accepted solution
New Participant
Jan 16, 2021 8:57 AM UTC

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"

3 replies

Kunal_Gaba_
Kunal_Gaba_Accepted solution
New Participant
Jan 16, 2021 8:57 AM UTC

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"
Translate
jkpanera
jkpaneraAuthor
Level 4
Jan 16, 2021 7:48 PM UTC
Hmmm, it seems this command is for 6.5. Do you have one for 6.3?
Translate