I have created a policy in Self Service that will erase and reinstall Mojave. This policy is scoped to all computers with limitations LDAP Group (admins), so when we log into Self Service on the computers, the policy is available for us.
However, how can I delete the same computer from the JSS inventory through the same policy?
I want the script to find out the current computer's ID (Jamf Pro Computer ID) and then through the API delete it from the JSS inventory, but since I can't scrip, I need some help on the way.
Question
Delete computer from JSS through Self Service
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
