All Products
Search
Document Center

WUYING Workspace:AttachCen

Last Updated:Mar 26, 2024

Attaches the secure office network of a workspace to a Cloud Enterprise Network (CEN) instance.

Operation description

Prerequisites

  • A CEN instance is created.
  • A workspace of the convenience account type is created.
Note Workspaces of the Active Directory (AD) account type are automatically attached to CEN instances when you create the workspaces. You can attach the secure office network of a workspace to only one CEN instance.

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 of the workspace.

cn-hangzhou
CenIdstringYes

The ID of the CEN instance.

cen-3gwy16dojz1m65****
CenOwnerIdlongNo

The ID of the Alibaba Cloud account to which the CEN instance belongs.

  • If the CEN instance specified by CenId belongs to the current Alibaba Cloud account, you can skip this parameter.
  • If the CEN instance specified by CenId belongs to another Alibaba Cloud account, you must specify this parameter.
102681951715****
VerifyCodestringNo

The verification code. If the CEN instance that is specified by CenId belongs to another Alibaba Cloud account, you must call the SendVerifyCode operation to obtain the verification code.

12****
OfficeSiteIdstringYes

The ID of the workspace.

cn-hangzhou+dir-363353****

Response parameters

ParameterTypeDescriptionExample
object

The information that is returned.

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
2021-10-28The request parameters of the API has changedsee changesets
Change itemChange content
Input ParametersThe request parameters of the API has changed.
    Added Input Parameters: VerifyCode