edit-icon download-icon

DetachCenChildInstance

Last Updated: Mar 28, 2018

Description

Detach a specified network from a CEN instance.

Request parameters

Name Type Required Description
Action String Yes

The action to perform. Valid value:

DetachCenChildInstance

CenId String Yes The ID of the CEN instance.
ChildInstanceId String Yes The ID of the network to attach.
ChildInstanceTypeStringYes

The type of the network to attach. Valid value:

VPC | VBR

ChildInstanceRegionIdStringYes The ID of the region where the network is located.
ChildInstanceOwnerIdLongNo

The account ID to which the network belongs.

Note: This parameter is required if the network to detach belongs to another account.

Response parameters

Name Type Description
RequestId String The ID of the request.

Error codes

See Common error codes.

Examples

Request example

  1. http://cbn.aliyuncs.com/?Action=DetachCenChildInstance
  2. &CenId=vpc-hp3kz27b1uv9hsmm9vqiv
  3. &ChildInstanceId=vpc-2zeki1et77fssihllb9s7
  4. &ChildInstanceRegionId=cn-beijing
  5. &ChildInstanceType=vpc
  6. &<Common parameters>

Response example

XML format

  1. <?xml version='1.0' encoding='UTF-8'?>
  2. <DetachCenChildInstanceResponse>
  3. <RequestId>5903EE99-D542-4E14-BC65-AAC1CB2D3D03</RequestId>
  4. </DetachCenChildInstanceResponse>

JSON format

  1. {
  2. "RequestId":"A278B8A6-A5B8-4FDE-9F72-95F0F6A1D68A"
  3. }
Thank you! We've received your feedback.