Create an API Role
An API Role groups one or more Jamf Pro privileges (e.g. “Read Computers”, “Update Mobile Devices”) that the API Client will be allowed to exercise.
Create the role
Sign in as a Jamf Pro administrator at https://<your-tenant>.jamfcloud.com (Jamf Cloud) or your self-hosted Jamf Pro URL, then go to Settings > System > API Roles and Clients and open the API Roles tab.
- Click + New.
- Display Name:
StackOne Integration
Select the privileges
Add each of these privileges to the role.
Save the role
Click Save. The role is now available to be assigned to API Clients.
Create an API Client
The API Client provides the Client ID and Client Secret.
Create the client
From Settings > System > API Roles and Clients, open the API Clients tab.
- Click + New.
- Display Name:
StackOne - API Roles: the role you created
- Access Token Lifetime: how long, in seconds, issued access tokens remain valid
- Enabled: ON
- Click Save.
Copy the Client ID
The Client ID identifies the API Client.
- Copy the Client ID (a UUID) across.
Generate the Client Secret
The Client Secret authenticates the API Client. Jamf Pro shows it only once.
- Click Generate Client Secret.
- Copy the Client Secret across.
Find your Jamf Pro URL
Your Jamf Pro URL is the address you use to open the Jamf Pro web console.
- Format:
https://{subdomain}.jamfcloud.com - Example:
https://acme.jamfcloud.com - Self-hosted deployments use their own server URL, such as
https://jamf.example.com:8443. - Do not add a trailing slash.
Link the Account
Connect
- Click Connect.
- If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider’s authorization flow.
- Once authorization is successful, you will see a confirmation popup.
Use Actions