Posted on 10-29-2018 10:44 AM
Dear Experts,
I would like to know what are the minimum permissions that I have to give an account so that it can do a "POST/computers" via the API. I have tried with
CRU for Computers
RU for Users
and still got "Error: Not authorized for a user POST" :(
I tried to add 'Enrollment' but that does not improve anything.
The command works when I give the account full admin permissions, but I would like to reduce the permissions to the strict minimum for this account.
Solved! Go to Solution.
Posted on 10-29-2018 10:57 AM
Create Computers and Create Users is the minimum for the server to create the computer object. However, the server will respond with an error unless you include the Update Computers privilege as well. That's likely a product issue though.
Posted on 10-29-2018 10:57 AM
Create Computers and Create Users is the minimum for the server to create the computer object. However, the server will respond with an error unless you include the Update Computers privilege as well. That's likely a product issue though.
Posted on 10-31-2018 03:38 AM
Thanks Sam, that really did it. I never would have though that Create Users is necessary, as I don't pass any user info. Now the account has a set of permissions I can live with.
Posted on 01-22-2020 08:30 AM
@Sam.Fortuna Thanks for the tip, that was of help to me too!
Posted on 03-09-2020 01:14 AM
@Sam.Fortuna Thanks for the tip, you saved me. I created a api account and tested in Jamf pro web console, it has permission to update computer inventory, but not in policy script.