Modifies workspace properties.

Debugging

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 ModifyOfficeSiteAttribute

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

DesktopAccessType String Yes INTERNET

The method used to connect to cloud desktops. Valid values:

  • INTERNET: allows clients to connect to cloud desktops only over the Internet.
  • VPC: allows only clients in virtual private clouds (VPCs) to connect to cloud desktops.
  • Any: allows connections over both the Internet and VPCs. You can select a connection method when you use a client to connect to the cloud desktop.

Default value: INTERNET.

Note The VPC connection method is provided by Alibaba Cloud PrivateLink, which is free of charge. When this parameter is set to VPC or Any, PrivateLink is automatically activated.
OfficeSiteId String Yes cn-hangzhou+dir-882398****

The ID of the workspace.

RegionId String Yes cn-hangzhou

The ID of the region.

OfficeSiteName String No test

The name of the workspace.

Response parameters

Parameter Type Example Description
RequestId String DE6C3EE0-0061-499F-A30C-6E43BB3EF931

The ID of the request.

Examples

Sample requests

https://ecd.cn-hangzhou.aliyuncs.com/?Action=ModifyOfficeSiteAttribute
&DesktopAccessType=INTERNET
&OfficeSiteId=cn-hangzhou+dir-882398****
&RegionId=cn-hangzhou
&<Common request parameters>

Sample success responses

XML format

<ModifyOfficeSiteAttributeResponse>
  <RequestId>DE6C3EE0-0061-499F-A30C-6E43BB3EF931</RequestId>
</ModifyOfficeSiteAttributeResponse>

JSON format

{
    "RequestId": "DE6C3EE0-0061-499F-A30C-6E43BB3EF931"
}