Detaches a network instance from a Cloud Enterprise Network (CEN) instance.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | No | DetachCenChildInstance |
The operation that you want to perform. Set the value to DetachCenChildInstance. |
CenId | String | Yes | cen-7qthudw0ll6jmx**** |
The ID of the CEN instance. |
ChildInstanceId | String | Yes | vpc-bp18sth14qii3pnvx**** |
The ID of the network instance that you want to detach from the CEN instance. |
ChildInstanceRegionId | String | Yes | cn-hangzhou |
The region ID of the network instance. You can call the DescribeRegions operation to query the most recent region list. |
ChildInstanceType | String | Yes | VPC |
The type of the network instance. Valid values:
|
ChildInstanceOwnerId | Long | No | 1699000000000000 |
The ID of the Alibaba Cloud account to which the network instance belongs. |
CenOwnerId | Long | No | 1688000000000000 |
The ID of the Alibaba Cloud account to which the CEN instance belongs. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50 |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DetachCenChildInstance
&CenId=cen-7qthudw0ll6jmx****
&ChildInstanceId=vpc-bp18sth14qii3pnvx****
&ChildInstanceRegionId=cn-hangzhou
&ChildInstanceType=VPC
&<Common request parameters>
Sample success responses
XML
format
<DetachCenChildInstanceResponse>
<RequestId>0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50</RequestId>
</DetachCenChildInstanceResponse>
JSON
format
{
"RequestId": "0C2EE7A8-74D4-4081-8236-CEBDE3BBCF50"
}
Error codes
For a list of error codes, visit the API Error Center.