Performs a device reboot or a factory reset on the modem portion of the device.
thingspace_oauth VZ-M2M-Token In: header
M2M Session Token (How to generate an M2M session token?)
In: header
application/json
A request to perform a device reboot.
TypeScript Definitions
Use the request body type in TypeScript.
Request body to Performs a device reboot.
application/json
application/json
curl -X POST "https://example.com/devices/actions/restart" \ -H "Content-Type: application/json" \ -d '{ "accountName": "0642233522-00003", "action": "reboot", "devices": [ { "id": "355154080648401", "kind": "IMEI" } ] }'{ "createdOn": "2019-02-03T06:48:07", "transactionID": "9c7bb124-11f5-4ff3-8a88-0eec1ba99205", "status": "FACTORY_RESET_PENDING"}{ "errorCode": "The type of error, such as INVALID_REQUEST.", "errorMessage": "Additional error information."}The name of the account. An account name is usually numeric, and must include any leading zeros.
The action you want to take on the device.
The devices for which you want to perform a factory reset or reboot.