Last active
October 14, 2022 13:38
-
-
Save rtrouton/a2ef67738334719d2a6fb095941076d6 to your computer and use it in GitHub Desktop.
Obtain a Bearer Token from the Jamf Pro API using Basic Authentication on macOS Monterey and later
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -X POST -u username:password -s https://server.name.here/api/v1/auth/token | plutil -extract token raw - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment