Resets cloud phone instances. A reset reinstalls the system using the image of the cloud phone. For example, the reset fails if the image used when the cloud phone was created has been deleted.
Operation description
Resetting (initializing the system) is supported only when the instance is in the Available, Stopped, Abnormal, Backup Failed, or Restore Failed state.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AndroidInstanceIds |
array |
No |
The list of instance IDs. |
|
|
string |
No |
The instance ID. |
acp-scaucydkl**** |
|
| SaleMode |
string |
No |
[Deprecated] The sales mode. This parameter is deprecated. Valid values:
|
Instance |
| SettingResetType |
integer |
No |
This parameter is not supported on the international site. Valid values:
|
1 |
| IgnoreParamValidation |
boolean |
No |
||
|
No |
Specify this parameter when you need to reduce storage while resetting instances in a cloud phone matrix. This feature is currently available through a whitelist. This parameter applies only to instances in a cloud phone matrix. |
10 |
||
|
No |
Specifies whether to enable automatic payment. Default value: false. |
true |
||
|
No |
The promotion ID. |
50003308011**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
69BCBBE4-FCF2-59B8-AD9D-531EB422**** |
| Tasks |
object |
The task information. |
|
| ParentTaskId |
string |
The parent task ID. |
t-xxxx |
| ChildTasks |
array<object> |
The child tasks. |
|
|
object |
The child task object. |
||
| InstanceId |
string |
The instance ID. |
acp-xxxx |
| TaskId |
string |
The child task ID. |
t-xxxx |
| OrderId |
string |
The order ID for storage reduction. This parameter is returned only when you reduce storage while resetting instances in a cloud phone matrix. It is not returned in other scenarios. |
22365781890**** |
Examples
Success response
JSON format
{
"RequestId": "69BCBBE4-FCF2-59B8-AD9D-531EB422****",
"Tasks": {
"ParentTaskId": "t-xxxx",
"ChildTasks": [
{
"InstanceId": "acp-xxxx",
"TaskId": "t-xxxx"
}
]
},
"OrderId": "22365781890****"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.