Runs but doesnt replace the value in the following <string>often</string> to <string>unset</string>
>>
apiUsername="myuser"
apiPassword="mypass"
jssURL="myurl"
policyID=239
curl -sS -k -u $apiUsername:$apiPassword https://myjssurl/JSSResource/managedpreferenceprofiles/id/$policyID -H "Content-Type: text/xml" -d "<managed_preference_profile><dict><key>idleTime</key><dict><key>state</key><string>unset</string><key>value</key><integer>900</integer></dict></dict></managed_preference_profile>" -X PUT
anyone see my 'obvious' mistake??
Thanks
