Skip to main content
Question

Jamf Pro API Permissions error for SoftwareUpdate Statuses

  • May 28, 2025
  • 4 replies
  • 23 views

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
  • 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
  • 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.


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
  • May 28, 2025

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
  • June 2, 2025

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.