Skip to main content

Hi all,

Just trying some API integration and the local Jamf account we have configured for API will not authorize to generate a token on our API page:

https://mycompany.jamfcloud.com/api/doc/

It just keeps saying "Authorization failed." and wondered if it's the privileges on the account. We have it set as follows:

  • Read-Only on all Server Objects (apart from API intergrations which is set to create, read and update).
  • No permission for any Server Settings
  • No permission for any Server Actions

Am I missing something? Any help appreciated!

@UtilizatorIn the Jamf Pro Dashboard -> Settings -> System Settings -> User Accounts and Groups -> Click "Password Policy" in the Top Right Corner of the User Accounts and Groups Page.

 

Do you have "Allow Basic authentication for the Classic API" Checked? This is a good place to start troubleshooting.

 

Otherwise, please share all of your Permissions for your API User


@UtilizatorIn the Jamf Pro Dashboard -> Settings -> System Settings -> User Accounts and Groups -> Click "Password Policy" in the Top Right Corner of the User Accounts and Groups Page.

 

Do you have "Allow Basic authentication for the Classic API" Checked? This is a good place to start troubleshooting.

 

Otherwise, please share all of your Permissions for your API User


Hi @Hugonaut , yes that is turned on.


@UtilizatorIn the Jamf Pro Dashboard -> Settings -> System Settings -> User Accounts and Groups -> Click "Password Policy" in the Top Right Corner of the User Accounts and Groups Page.

 

Do you have "Allow Basic authentication for the Classic API" Checked? This is a good place to start troubleshooting.

 

Otherwise, please share all of your Permissions for your API User


@Hugonaut  the settings are group based and as follows:

  • Read-Only on all Server Objects apart from API Intergrations which is set to create, read and update.
  • No permission for any Server Settings
  • No permission for any Server Actions

Thanks.