Expand my Community achievements bar.

SOLVED

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

Avatar

Level 3

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

1 Accepted Solution

Avatar

Correct answer by
Community Advisor
3 Replies

Avatar

Correct answer by
Community Advisor

Avatar

Level 3

Hi @arunpatidar @Anish-Sinha 

https://experienceleague.adobe.com/docs/experience-manager-65/assets/extending/mac-api-assets.html?l...

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

Avatar

Employee Advisor

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?l...