Update a software
Softwares
Update a software
Update ONE software’s targeting and settings. Targeting is required: set targetMethod to All (every device) or DeviceGroup with a non-empty deviceGroupIds. Optional settings: selfService, autoUpdateSoftware, autoUpdatePolicies, automaticInstall, installDuringSetup, and the auto-update window. Changing targeting can uninstall the software from devices that lose it. Use simulateSoftwareTargetCount to preview the reach first. This endpoint does NOT accept install scripts, and because targeting is mandatory here it always rewrites it — to change a script and nothing else, use updateSoftwareScripts instead.