All Products
Search
Document Center

WUYING Workspace:ModifyDesktopName

Last Updated:Apr 08, 2024

Changes the name of a cloud computer to a new name.

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
NewDesktopNamestringYes

The new name of the cloud computer. The name of the cloud computer must meet the following requirements:

  • The name must be 1 to 64 characters in length.
  • The name must start with a letter but cannot start with http:// or https://.
  • The name can only contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-).
test
DesktopIdstringYes

The ID of the cloud computer.

ecd-gx2x1dhsmucyy****

Response parameters

ParameterTypeDescriptionExample
object

Schema of response.

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
No change history