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


  • 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.


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.


Sample requests
&<Common request parameters>

Sample success responses

XML format


JSON format


Error codes

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