Modifies the properties of a workspace.


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.

RegionId String Yes cn-hangzhou

The ID of the region.

OfficeSiteId String Yes cn-hangzhou+dir-882398****

The ID of the workspace.

DesktopAccessType String Yes INTERNET

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

  • INTERNET: allows clients to connect to cloud desktops only over the Internet.
  • VPC: allows clients to connect to cloud desktops only over a virtual private cloud (VPC).
  • Any: allows clients to connect to cloud desktops over the Internet or a VPC. 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 depends on Alibaba Cloud PrivateLink. You can use PrivateLink for free. If you set this parameter to VPC or Any, PrivateLink is automatically activated.
OfficeSiteName String No test

The name of the workspace.

NeedVerifyLoginRisk Boolean No false

Specifies whether to enable two-step verification for logons. This is only used for workspaces of the convenience account type.

If two-step verification is enabled, the system checks whether the logon account has security risks when a convenience user logs on to a client. If the account has security risks, the system sends a verification code to the email address associated with the account. In this case, the convenience user can log on to the client only after the verification code is retrieved.

Response parameters

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

The ID of the request.


Sample requests
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK


JSON format

HTTP/1.1 200 OK

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