Skip to main content
Solved

Deleting multiple policies in Jamf Pro

  • January 31, 2022
  • 3 replies
  • 67 views

rpayne
Forum|alt.badge.img+12

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

Best answer by sdagley

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

3 replies

Hugonaut
Forum|alt.badge.img+15
  • Esteemed Contributor
  • January 31, 2022

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


sdagley
Forum|alt.badge.img+25
  • Jamf Heroes
  • Answer
  • January 31, 2022

@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
Forum|alt.badge.img+12
  • Author
  • Contributor
  • February 23, 2022

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