All Products
Search
Document Center

WUYING Workspace:RebootDesktops

Last Updated:Mar 21, 2024

Restarts cloud desktops.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The region ID. You can call the DescribeRegions operation to query the most recent region list.

cn-hangzhou
ClientIdstringYes

The client ID. The system generates a unique ID for each client.

f4a0dc8e-1702-4728-9a60-95b27a35****
SessionIdstringYes

The session ID.

cd45e873-650d-4d70-acb9-f996187a****
LoginTokenstringYes

The logon token.

v18101ac6a9e69c66b04a163031680463660b4b216cd758f34b60b9ad6a7c7f7334b83dd8f75eef4209c68f9f1080b****
ClientOSstringNo

The client OS.

Windows_NT 10.0.18363 x64
ClientVersionstringNo

The client version.

2.1.0-R-20210731.151756
DesktopIdarrayYes

The cloud desktop IDs. You can specify 1 to 20 IDs.

stringYes

The cloud desktop ID.

ecd-7w78ozhjcwa3u****
ClientTokenstringYes

The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see How do I ensure the idempotence of a request?

40401e62-5caf-4508-8de7-bf98af12****
SessionTokenstringNo

The logon token.

04b7b80a0b020715c5c1b4175fc4771698****9e2a759557a4624665fd53ae40

Response parameters

ParameterTypeDescriptionExample
object

The response parameters.

RequestIdstring

The request ID.

1CBAFFAB-B697-4049-A9B1-67E1FC5F****

Examples

Sample success responses

JSONformat

{
  "RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****"
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2023-05-18The request parameters of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    Added Input Parameters: SessionToken