Skip to main content

Is there a way to delete multiple policies in Jamf Pro? I'm not seeing an option and search brings up nothing.

@rpayne 

 

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!


@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)


@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)


Yes. Thank you! Sorry was out for a bit.