Disassociates a Virtual Private Cloud (VPC) from an instance.

Debugging

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 DeleteInstanceVpcEndpointLinkedVpc

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

InstanceId String Yes cri-xkx6vujuhay0****

The ID of the instance.

RegionId String Yes cn-shanghai

The ID of the region.

VpcId String Yes vpc-uf6pa68zxnnlc48dd****

The VPC ID of the instance.

VswitchId String Yes vpc-uf6pa68zxnnlc48dd****

The ID of the vSwitch.

ModuleName String No Chart

The name of the module that you want to access. Valid values:

  • Registry: the image repository.
  • Chart: Helm Chart.

Response parameters

Parameter Type Example Description
Code String true

The return value.

IsSuccess Boolean true

Indicates whether the operation is successful.

RequestId String 20FE7A66-0044-4E23-BBEC-C434EADBD7AF

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DeleteInstanceVpcEndpointLinkedVpc
&InstanceId=cri-xkx6vujuhay0****
&RegionId=cn-shanghai
&VpcId=vpc-uf6pa68zxnnlc48dd****
&VswitchId=vpc-uf6pa68zxnnlc48dd****
&<Common request parameters>

Sample success responses

XML format

<IsSuccess>true</IsSuccess>
<RequestId>20FE7A66-0044-4E23-BBEC-C434EADBD7AF</RequestId>
<Code>success</Code>

JSON format

{
    "IsSuccess":true,
    "RequestId":"20FE7A66-0044-4E23-BBEC-C434EADBD7AF",
    "Code":"success"
}

Error codes

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