To clear the device upgrade history on the device making the REST API calls, a remote device, or rf-domain:
Note
You must forward the auth_token as a cookie with each API call.Sample Requests with Different Possible Input Parameters
curl -X GET --cookie auth_token=$cookie http://172.16.0.16/rest/v1/act/clear-device-upgrade-history
curl -X POST --cookie auth_token=$cookie http://172.16.0.16/rest/v1/act/clear-device-upgrade-history -d '{"rf-domain":"guest-domain"}'
curl -X POST --cookie auth_token=$cookie http://172.16.0.16/rest/v1/act/clear-device-upgrade-history -d '{"device":"08-00-27-96-5F-EA"}'
curl -X POST --cookie auth_token=$cookie http://172.16.0.16/rest/v1/act/clear-device-upgrade-history -d '{"scope":"noc"}'
Sample Response (200 OK)
{ "return_code": 0 }