Hi team,
How can I delete this folder '/var/acs-commons/mcp/instances' in AEM Cloud instance with cUrl command.
Thanks,
SD
Solved! Go to Solution.
Hi @SDusane
For AEMaaCS you can try something like:
curl -H "Authorizatin: Bearer [token]" -F":operation=delete" https://author-p[ProgramID]-e[EnvironmentID].adobeaemcloud.com/var/acs-commons/mcp/instances
Replace token, ProgramID, EnvironmentID with your project specific values. And try.
I recommend to do it on lower envs first, to see how it goes.
Hi @SDusane ,
curl -u username:password -X DELETE http://localhost:4502/content/dam/test/product-assets/test
However ensure that user have enough access to perform the delete operation and before deleting folder /var/acs-commons/mcp/instances go through https://adobe-consulting-services.github.io/acs-aem-commons/features/mcp/subpages/maintenance.html
You may refer https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/curl-command-to-delete-a-a...
Thanks
Hi @SDusane
For AEMaaCS you can try something like:
curl -H "Authorizatin: Bearer [token]" -F":operation=delete" https://author-p[ProgramID]-e[EnvironmentID].adobeaemcloud.com/var/acs-commons/mcp/instances
Replace token, ProgramID, EnvironmentID with your project specific values. And try.
I recommend to do it on lower envs first, to see how it goes.
Hi @Tethich ,
I was trying this curl but its failing with unauthorised event, can you please check the curl and let me know if its working for you.
Thanks.
Views
Replies
Total Likes
I don't have access to a cloud instance at the moment. I see what I can do.
But meanwhile, I just observed I have a typo in my example. Instead of
Authorizatin
it should be
Authorization
Views
Replies
Total Likes
To delete the folder /var/acs-commons/mcp/instances in an AEM Cloud instance using cURL: curl -u <username>:<password> -X DELETE "https://<aem-instance-url>/bin/rep:deleteNode.jsp?path=/var/acs-commons/mcp/instances"
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies