Deleting multiple policies in Jamf Pro

rpayne
Contributor II

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

1 ACCEPTED SOLUTION

sdagley
Esteemed Contributor II

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

View solution in original post

3 REPLIES 3

Hugonaut
Valued Contributor II

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

________________
Looking for a Jamf Managed Service Provider? Look no further than Rocketman
________________


Virtual MacAdmins Monthly Meetup - First Friday, Every Month

sdagley
Esteemed Contributor II

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