I made my shell script that contains the following:
curl -sfku https://myjssurl:8443/commandflush/mobiledevices/serialnumber/DMPPL5HHFK11/status/Failed --user "$username:$password" -X DELETE
When I run it, I get "curl: no URL specified!"
So tried the following:
curl -sfku "username:pass" https://jssurl:8443/commandflush/mobiledevices/serialnumber/DMPPL5HHFK11/status/Failed -X DELETE
This runs without any errors, but nothing is reflected on the JSS. Both are examples I've seen and amended off the boards here or other various places. Can anyone point out what obvious mistakes I'm making.
