This is our solution and it works well. #!/bin/bash # Enter the API
Username, API Password and JSS URL here
apiuser="your-api-read-only-user" # create a user for read only (Active
Directory or local on Jamf Server) apipass="your-password" # password
...