Amazon Elastic Compute Cloud
API Reference (API Version 2012-04-01)
Print this pageEmail this pageGo to the ForumsView the PDFShare this page on TwitterShare this page on FacebookBookmark this page on DeliciousSubmit this page to RedditSubmit this page to DiggDid this page help you?  Yes  No   Tell us about it...

DeleteNetworkInterface

Description

Deletes the specified network interface.

Request Parameters

NameDescriptionRequired

NetworkInterfaceId

The ID of the network interface to delete.

Type: string

Default: None

Yes

Response Elements

NameDescription

requestId

The ID of the request to delete the network interface.

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/2011-11-15/'>
    <requestId>e1c6d73b-edaa-4e62-9909-6611404e1739</requestId>
    <return>true</return>
</DeleteNetworkInterfaceResponse>