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

Description

  • A CEN instance is created by calling the CreateCen operation.
  • The account type of the workspace is convenience account.
Note The secure office networks of workspaces of the enterprise AD account type are already attached to CEN instances when the workspaces were created. The secure office network corresponding to each workspace can be attached only to a single CEN instance.

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 AttachCen

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

CenId String Yes cen-3gwy16dojz1m65****

The ID of the CEN instance.

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

The ID of the workspace.

RegionId String Yes cn-hangzhou

The ID of the region.

Response parameters

Parameter Type Example Description
RequestId String 473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E

The ID of the request.

Examples

Sample requests

https://ecd.cn-hangzhou.aliyuncs.com/?Action=AttachCen
&CenId=cen-3gwy16dojz1m65****
&OfficeSiteId=cn-hangzhou+dir-363353****
&RegionId=cn-hangzhou
&<Common request parameters>

Sample success responses

XML format

<AttachCen>
      <RequestId>473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E</RequestId>
</AttachCen>

JSON format

{
    "RequestId":"473469C7-AA6F-4DC5-B3DB-A3DC0DE3C83E"
}

Error codes

For a list of error codes, visit the API Error Center.