Domain name for API request: vpc.tencentcloudapi.com.
This API is used to delete an ENI.
This API is completed asynchronously. If you need to query the execution result of an async task, please use the RequestId
returned by this API to poll the DescribeVpcTaskResult
API.
A maximum of 100 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common Params. The value used for this API: DeleteNetworkInterface. |
Version | Yes | String | Common Params. The value used for this API: 2017-03-12. |
Region | No | String | Common Params. This parameter is not required for this API. |
NetworkInterfaceId | Yes | String | The ID of the ENI instance, such as eni-m6dyj72l . |
Parameter Name | Type | Description |
---|---|---|
RequestId | String | The unique request ID, which is returned for each request. RequestId is required for locating a problem. |
This example shows you how to delete an ENI.
https://vpc.tencentcloudapi.com/?Action=DeleteNetworkInterface
&NetworkInterfaceId=eni-m6dyj72l
&<Common request parameters>
{
"Response": {
"RequestId": "5cf1a813-d4f8-4e0c-8f90-c155a84a3ea1"
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
InvalidParameterValue.Malformed | Invalid input parameter format. |
LimitExceeded.ActionLimited | Too often API invocations |
ResourceInUse | The resource is occupied. |
ResourceNotFound | The resource does not exist. |
UnsupportedOperation | Unsupported operation. |
UnsupportedOperation.InvalidState | Invalid resource status. |
Was this page helpful?