If you need to delete a managed local administrator account, Jamf recommends doing so using one of the following methods:
Navigate to the inventory record for the computer, and then click .
Use a policy with a Local Accounts payload to delete the account.
For more information, see Local Accounts in the Jamf Pro Documentation.
Jamf does not recommend executing a dscl command in Terminal to delete managed local administrator accounts. Deleting an account this way will cause the account and password to remain in the computer's inventory record.