Make sure that API user only has permission to read on computers. An
alternate method is to dump your buildings and ID numbers with an
advanced search, create the machine names in Excel/Numbers, export ID
and machine name to a .csv, upload those to J...
You're very close. There are a bunch of programs to substring data in
scripts (cut/awk/sed/etc...) but parameter expansion is built in so
usually the best for simple tasks. #!/bin/bash # Fill in these values
jssurl='https://my.jamf.com:8443' apiCreds...