Endpoint

Overview

Restarts each phone. The request returns as soon as the reboots have been triggered; it does not wait for the phones to come back. Does not need a session. Rebooting ends the phone’s session if it has one. The phone’s status becomes offline, then preparing, then online again, usually within three minutes. Poll Get Phones and start a new session once it is online. Platforms: Android only. An iPhone gets the error code unsupported.

Request Body

string[]
required
The phones to act on.
string
One phone, instead of phoneIds. The answer’s data is then that phone’s result itself, not a list, and a failure on the phone is the request’s ok: false with the phone’s error (at the HTTP status of its code). Give phoneId or phoneIds, not both.

Response

boolean
true when the request was carried out. Check each result for how it went on that phone.
Result[]
One Result per phone, in the order of phoneIds. This endpoint adds no fields of its own.
A result with ok: true means the reboot was triggered on that phone.