Batch restart, supporting the simultaneous reboot of up to 20 cloud phones.
Note: Restarting is an asynchronous operation. You can determine whether the restart was successful by checking the status of the cloud phone.
POST
/api/v1/cloudPhone/restart
Parameter | Type | Required | Description |
---|---|---|---|
image_ids | array | Yes | Cloud phone IDs |
{
"image_ids": ["xx"]
}
{
"code": 200,
"data": {
"success": [ // Successfully powered-off cloud phone IDs
"xx"
],
"fail": [ // Failed power-off cloud phone IDs
"xx"
],
"fail_reason": {
"xx": "restart error"
}
},
"message": "Success"
}