| « PreviousNext » | |
![]() ![]() | Did this page help you? Yes | No | Tell us about it... |
Deletes the specified network interface.
NetworkInterfaceIdThe ID of the network interface.
Type: String
Default: None
Required: Yes
The following elements are returned in a
DeleteNetworkInterfaceResponse element.
requestIdThe ID of the request.
Type: xsd:string
returnReturns true if the request succeeds. Otherwise, returns an error.
Type: xsd:boolean
This example deletes an elastic network interface (ENI) eni-ffda3197.
https://ec2.amazonaws.com/?Action=DeleteNetworkInterface &NetworkInterfaceId=eni-ffda3197 &AUTHPARAMS
<DeleteNetworkInterfaceResponse xmlns='http://ec2.amazonaws.com/doc/2013-02-01/'>
<requestId>e1c6d73b-edaa-4e62-9909-6611404e1739</requestId>
<return>true</return>
</DeleteNetworkInterfaceResponse>