Hello All,
I tried getting script information with API as follows.
curl - u user: passwd - X GET https://mydomain.com/JSSResource/scripts
When I logged into Jamf Pro with the same account and selected Site, I found that the execution result of the above API changes.
Select "Full Jamf Pro" for Site and execute API(SUCCESS)
<? xml version = "1.0" encoding = "UTF - 8"?>
<scripts>
....
</scripts>Select "Site A" for Site and execute API(FAILED)
...
Unauthorized </ p>
<p> The request requires user authentication </ p>
...
I would like to keep "Full Jamf Pro" selected at all times, so as not to cause API errors.
Please let me know if you have any information you know.