Disassociates a VPC from an instance.
Debugging
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-xkx6vujuhay0txas |
The ID of the instance. |
RegionId | String | Yes | cn-shanghai |
The ID of the region where the instance resides. |
VpcId | String | Yes | vpc-uf6pa68zxnnlc48dd3qwe |
The ID of the VPC. |
VswitchId | String | Yes | vpc-uf6pa68zxnnlc48dd3asd |
The ID of the VSwitch. |
ModuleName | String | No | Chart |
The name of the module in the instance. Valid values: Registry and Chart. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
IsSuccess | Boolean | true |
Indicates whether the operation is successful. |
Code | String | true |
The code returned for the request. |
RequestId | String | 20FE7A66-0044-4E23-BBEC-C434EADBD7AF |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=DeleteInstanceVpcEndpointLinkedVpc
&InstanceId=cri-xkx6vujuhay0txas
&RegionId=cn-shanghai
&VpcId=vpc-uf6pa68zxnnlc48dd3qwe
&VswitchId=vpc-uf6pa68zxnnlc48dd3asd
&<Common request parameters>
Sample success responses
JSON
format
{
"IsSuccess":true,
"RequestId":"20FE7A66-0044-4E23-BBEC-C434EADBD7AF",
"Code":"success"
}
XML
format
<IsSuccess>true</IsSuccess>
<RequestId>20FE7A66-0044-4E23-BBEC-C434EADBD7AF</RequestId>
<Code>success</Code>
Error codes
For a list of error codes, visit the API Error Center.