Skip to main content
Question

Jamf Pro API Permissions error for SoftwareUpdate Statuses


Forum|alt.badge.img+7

Hello all.

When I use the following API point:

--url $JAMFServer/api/v1/managed-software-updates/update-statuses/

I get a long list of info. This indicates I have permissions to access this data.

However if I use "--url $JAMFServer/api/v1/managed-software-updates/update-statuses/filter=status=="installing" "

I get a 403 error.

Which is "Forbidden". It doesn't matter what filter I use, no go. Anyone know what permission needs to be set to get access to this info?

Thanks.

4 replies

sdagley
Forum|alt.badge.img+25
  • Jamf Heroes
  • 3537 replies
  • May 28, 2025

@Chris_Cover I don't see anything in the API reference that indicates you can ask for only the status messages containing "installing" when using the managed-software-updates/update-statuses/ endpoint, so you'd need to us jq to parse out the installing response when calling the endpoint with filter=status.


Forum|alt.badge.img+7
  • Author
  • Contributor
  • 49 replies
  • May 28, 2025
sdagley wrote:

@Chris_Cover I don't see anything in the API reference that indicates you can ask for only the status messages containing "installing" when using the managed-software-updates/update-statuses/ endpoint, so you'd need to us jq to parse out the installing response when calling the endpoint with filter=status.


Thanks for the response but you can actually get other statuses. I figured out what I was doing wrong. 

So:

 

--url $JAMFServer/api/v1/managed-software-updates/update-statuses?filter=status=="DOWNLOAD_INSUFFICIENT_SPACE" \\

Will give you devices that failed due to insufficient space.

 

I'm now stuck on the jq command that thinks I have null data.. 

The suffering never ends.


sdagley
Forum|alt.badge.img+25
  • Jamf Heroes
  • 3537 replies
  • May 28, 2025
Chris_Cover wrote:

Thanks for the response but you can actually get other statuses. I figured out what I was doing wrong. 

So:

 

--url $JAMFServer/api/v1/managed-software-updates/update-statuses?filter=status=="DOWNLOAD_INSUFFICIENT_SPACE" \\

Will give you devices that failed due to insufficient space.

 

I'm now stuck on the jq command that thinks I have null data.. 

The suffering never ends.


Interesting, and good to know. You might submit a documentation update request at ideas.jamf.com to update the reference for that endpoint to illustrate filtering on specific statuses.


Forum|alt.badge.img+7
  • Author
  • Contributor
  • 49 replies
  • June 2, 2025
sdagley wrote:

Interesting, and good to know. You might submit a documentation update request at ideas.jamf.com to update the reference for that endpoint to illustrate filtering on specific statuses.


The documentation is there. It's just not what I would consider "clear". It assumes you know certain things (which may be a reasonable assumption if you are digging into the API). Once I "freed my mind" I was able to figure out what was required.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings