Skip to main content
Question

Mass delete of policies

  • June 19, 2018
  • 1 reply
  • 8 views

Forum|alt.badge.img+5

Does anyone have any ideas on how to mass delete old policies? I would like to delete some policies that have no use anymore and it is painful to go into each to delete or disable. Looking for a way for a way to make a mass change of delete and or disable.

Thanks!!

1 reply

Tangentism
Forum|alt.badge.img+10
  • Honored Contributor
  • June 19, 2018

This is when you discover how to use the API!

https://developer.jamf.com/documentation

If you know the IDs of the policies you want to delete (Use one of @mm2270's scripts on Github to get policy info) then you can feed that to the API to delete the policies.