Skip to content

Instantly share code, notes, and snippets.

@rtrouton
Last active October 14, 2022 13:38
Show Gist options
  • Save rtrouton/a2ef67738334719d2a6fb095941076d6 to your computer and use it in GitHub Desktop.
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
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