Kindly check this https://www.modtitan.com/2018/01/reusable-script-for-updating-ea-values.html
Thanks but thats using the classic api. Im looking for the jamf pro api using bearer tokens.
Thanks but thats using the classic api. Im looking for the jamf pro api using bearer tokens.
@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/261269
You can use that script to see what modifications are needed to change the script @johnpatrick_lon referred you to.
@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/261269
You can use that script to see what modifications are needed to change the script @johnpatrick_lon referred you to.
yes ive already looked at that.
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.
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.
ok thanks for letting me know.