Activates a workspace.

Description

If a workspace of the convenience account type is not used for a long time, the system locks the workspace and releases virtual private cloud (VPC) resources to improve resource utilization. If you want to continue to use a workspace that is locked, you can call the ActivateOfficeSite operation to activate the workspace. After the workspace is activated, the system recreates VPC resources based on the original configurations.

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 ActivateOfficeSite

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

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

The ID of the workspace of the convenience account type.

RegionId String Yes cn-hangzhou

The ID of the region.

Response parameters

Parameter Type Example Description
RequestId String 269BDB16-2CD8-4865-84BD-11C40BC21DB0

The ID of the request.

Examples

Sample requests

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

Sample success responses

XML format

<ActivateOfficeSiteResponse>
      <RequestId>269BDB16-2CD8-4865-84BD-11C40BC21DB0</RequestId>
</ActivateOfficeSiteResponse>

JSON format

{
    "RequestId":"269BDB16-2CD8-4865-84BD-11C40BC21DB0"
}