You can call this operation to associate private zones with Virtual Private Clouds (VPCs) or disassociate private zones from VPCs.


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 BindZoneVpc

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

ZoneId String Yes AgIDE0OQ_149

The ID of the private zone.

Lang String No en

The language of the specific content returned in the response.

UserClientIp String No

The IP address of the client.

Vpcs.N.RegionId String No cn-beijing

The ID of the region where the VPC is deployed.

Vpcs.N.VpcId String No daily-vpc-id

The ID of the VPC.

Response parameters

Parameter Type Example Description
RequestId String 46973D4C-E3E4-4ABA-9190-9A9DE406C7E

The ID of the request.


Sample requests

  1.<Common request parameters>

Sample success responses

XML format

  1. <BindZoneVpcResponse> <RequestId>12FE6E98-3885-423E-B18B-88CC17052A31</RequestId></BindZoneVpcResponse>

JSON format

  1. {“RequestId”:”CC7C8C8C-F415-4FA5-9FA6-7894E07B27E4”}

Error codes

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