Please can someone provide an example using the Jamf Pro API to change a drop down EA on a computer record?
Im currently using this Solved: Updating Pop-Up Extension Attribute Value via API - Jamf Nation Community - 87213 for the classic api.
@tkimpton The Classic API can use Bearer Token auth. See this post for an example: https://community.jamf.com/t5/jamf-pro/bearer-token-api-and-adding-computer-to-static-group/m-p/2612...
You can use that script to see what modifications are needed to change the script @johnpatrick_lon referred you to.
I do not believe there is an endpoint in the JPAPI to update an EA yet. You would do that on the computer record, and the only POST endpoint is to "Upload attachment and assign to computer". Unless I'm missing something, you'll need to use the Classic API for this until that endpoint is moved over to the JPAPI.