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
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | Yes | The region ID of the workspace. | cn-hangzhou |
CenId | string | Yes | The ID of the CEN instance. | cen-3gwy16dojz1m65**** |
CenOwnerId | long | No | The ID of the Alibaba Cloud account to which the CEN instance belongs.
| 102681951715**** |
VerifyCode | string | No | 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**** |
OfficeSiteId | string | Yes | The ID of the workspace. | cn-hangzhou+dir-363353**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****"
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation | ||||
---|---|---|---|---|---|---|
2021-10-28 | The request parameters of the API has changed | see changesets | ||||
|