Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

How to delete multiple pacakges from pkg manager?

Avatar

Level 2

Hi,

I have lot of packages uploaded in my package manager that are not needed for me now and i want to delete all at once. Do we have a way to do so?

1 Accepted Solution

Avatar

Correct answer by
Level 10

Unfortunately have to uninstall one by one. In case you have organized well & to clean folder use crx explorer or crxde to delete parent node. You can use automaize using curl.  In any case file a daycare request so that enhancement request can be tracked.

View solution in original post

3 Replies

Avatar

Correct answer by
Level 10

Unfortunately have to uninstall one by one. In case you have organized well & to clean folder use crx explorer or crxde to delete parent node. You can use automaize using curl.  In any case file a daycare request so that enhancement request can be tracked.

Avatar

Level 9

I think this can be achievable by using the cURL command.Below command is for deleting single package and the same you can frame the command to delete multiple packages.

curl -k -u "$USER_NAME":"$PASSWORD" -X POST "$URL""$PORT"/wcm_author/crx/packmgr/service/.json/etc/packages/my_packages/<package-name>?cmd=delete

Avatar

Level 3

Go to /etc/packages >> delete the packages that need to be deleted >> Save All and restart the AEM instance.

1503325_pastedImage_6.png

Good Luck...