Posted on 01-31-2022 11:32 AM
Is there a way to delete multiple policies in Jamf Pro? I'm not seeing an option and search brings up nothing.
Solved! Go to Solution.
Posted on 01-31-2022 01:03 PM
@rpayne Are these unused/disabled policies? If so you can use https://github.com/BIG-RAT/Prune to find them, and then delete them (along with other unused objects in your JSS)
Posted on 01-31-2022 11:44 AM
My first thoughts are to use api - https://ORGNAMEHERE.jamfcloud.com/classicapi/doc/#/policies/deletePolicyById
If you have an easy way of populating the IDs like mm2270s script- https://github.com/mm2270/Casper-API#create-jss-policy-scope-reportsh
Then you might be able to save time, it really is one of those mundane tedious tasks but that's my 2 cents! Hope it helps!
Posted on 01-31-2022 01:03 PM
@rpayne Are these unused/disabled policies? If so you can use https://github.com/BIG-RAT/Prune to find them, and then delete them (along with other unused objects in your JSS)
Posted on 02-23-2022 03:11 PM
Yes. Thank you! Sorry was out for a bit.