move asset from one folder to another via API calls using postman | Community
Skip to main content
Level 3
April 12, 2022
Solved

move asset from one folder to another via API calls using postman

  • April 12, 2022
  • 1 reply
  • 927 views

Hi,

Requirement: To move an asset from one folder to another via API calls using postman. 

But not able to find move option in postman. How can this be achieved?

 

Thanks in advance

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
April 12, 2022
DollyAuthor
Level 3
April 12, 2022

Hi @arunpatidar @anish-sinha 

https://experienceleague.adobe.com/docs/experience-manager-65/assets/extending/mac-api-assets.html?lang=en#move-a-folder-or-asset

This talks about CRUD operation on single asset. How can be have bulk operation?

ex: I want to create/delete/update multiple assets using one single api call using postman

Anish-Sinha
Adobe Employee
Adobe Employee
April 12, 2022

Hi @dolly , You can move the complete folder containing all the assets for the bulk move operation. Refer to the same link shared by Arun and use this

RequestMOVE /api/assets/myFolder -H"X-Destination: /api/assets/myFolder-moved"

https://experienceleague.adobe.com/docs/experience-manager-65/assets/extending/mac-api-assets.html?lang=en#move-a-folder-or-asset