Amazon Elastic Compute Cloud
API Reference (API Version 2013-02-01)
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Did this page help you?  Yes | No |  Tell us about it...

DeleteNetworkInterface

Description

Deletes the specified network interface.

Request Parameters

NetworkInterfaceId

The ID of the network interface.

Type: String

Default: None

Required: Yes

Response Elements

The following elements are returned in a DeleteNetworkInterfaceResponse element.

requestId

The ID of the request.

Type: xsd:string

return

Returns true if the request succeeds. Otherwise, returns an error.

Type: xsd:boolean

Examples

Example Request

This example deletes an elastic network interface (ENI) eni-ffda3197.

https://ec2.amazonaws.com/?Action=DeleteNetworkInterface
&NetworkInterfaceId=eni-ffda3197
&AUTHPARAMS

Example Response

<DeleteNetworkInterfaceResponse xmlns='http://ec2.amazonaws.com/doc/2013-02-01/'>
    <requestId>e1c6d73b-edaa-4e62-9909-6611404e1739</requestId>
    <return>true</return>
</DeleteNetworkInterfaceResponse>