wipePhone

wipePhone( deviceId : string ) : string

The wipePhone operation issues a wipe command to the device with the supplied device ID. The way a device will be wiped will differ depending on the device OS - see Destroy device data - by platform. It returns a string containing the device ID if the operation succeeded; it returns null if an error occurred. An error could be that a device with the ID in question was not found, or that no connection to it could be established.

Parameters

Name

Description

Required

deviceId

Type: string

The ID of the device to which the operation applies. The ID of a device can be found on its information page (see Information) or be returned using getDevices.

Yes

Return value

String containing the DME deviceID for the device that has was wiped.

Throws

MyDMEException if the device could not be wiped. See MyDMEException.

Next topic

MyDmeWS operations