Diagnostics Factory Reset
Performs a device reboot or a factory reset on the modem portion of the device.
Performs a device reboot or a factory reset on the modem portion of the device.
Authorization
thingspace_oauth VZ-M2M-Token AuthorizationBearer <token>
This is the ThingSpace token, from Credentials and Tokens is used
In: header
VZ-M2M-Token<token>
M2M Session Token (How to generate an M2M session token?)
In: header
Request Body
application/json
A request to perform a device reboot.
A request to perform a device reboot.
accountName?string
The name of the account. An account name is usually numeric, and must include any leading zeros.
action?string
The action you want to take on the device.
devices?array<>
The devices for which you want to perform a factory reset or reboot.
Response Body
application/json
application/json
curl -X POST "https://example.com/diagnostics/v1/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"}
