move asset from one folder to another via API calls using postman | Community
Skip to main content
Level 3
Apr 12, 2022 10:24 AM UTC
Solved

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

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.
arunpatidar
arunpatidarAccepted solution
New Participant
Apr 12, 2022 11:10 AM UTC

3 replies

arunpatidar
arunpatidarAccepted solution
New Participant
Apr 12, 2022 11:10 AM UTC
DollyAuthor
Level 3
Apr 12, 2022 3:01 PM UTC

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

Translate
Anish-Sinha
Employee
Apr 12, 2022 3:18 PM UTC

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

Request: MOVE /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

 

 

Translate