Updating a Device

You can use the updateDevice call to wipe or clear the wipe status of a device.

Sample URL

https://hostname:port/context/rest/v2/devices/updateDevice/{deviceId}

Method

POST

Parameters

Parameter Description
deviceId Required.

The ID of the device to wipe or unwipe.

It should be on the URL.

action the valid values are Wipe and Reset Wipe.

Response

The format of the response is "{"message":"<response message>"}".

Explanation of special return code:

HTTP Status Code Description
200 Successful.
403 Forbidden. This is not your device.
404 Not Found. Device not found.
406 Not Acceptable. Parameter is missing or contains invalid value.
500 Internal Server Error. Unable to update device wipe status.