You can call this operation to restart cloud desktops.


Before you call this operation, make sure that the cloud desktop is in the Running state.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes RebootDesktops

The operation that you want to perform. Set the value to RebootDesktops.

RegionId String Yes cn-hangzhou

The ID of the region where the cloud desktops to restart are located.

DesktopId.N RepeatList Yes ecd-gx2x1dhsmucyy****

The IDs of the cloud desktops that you want to restart. You can configure one or more desktop IDs. Valid values of N: 1 to 100.

Response parameters

Parameter Type Example Description
RequestId String 8F851208-C0EA-4CDD-9074-DBE70CB430DA

The ID of the request.


Sample requests
&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

For a list of error codes, visit the API Error Center.