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 Digg

DeleteDhcpOptions

Description

Deletes a set of DHCP options that you specify. Amazon VPC returns an error if the set of options you specify is currently associated with a VPC. You can disassociate the set of options by associating either a new set of options or the default options with the VPC.

For more information about Amazon Virtual Private Cloud and DHCP options sets, go to Using DHCP Options in Your VPC in the Amazon Virtual Private Cloud User Guide.

Request Parameters

NameDescriptionRequired

DhcpOptionsId

The ID of the DHCP options set you want to delete.

Type: String

Default: None

Yes

Response Elements

The elements in the following table are wrapped in an DeleteDhcpOptionsResponse structure.

NameDescription

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 the set of DHCP options with ID dopt-7a8b9c2d.

https://ec2.amazonaws.com/?Action=DeleteDhcpOptions							 
&DhcpOptionsId=dopt-7a8b9c2d
&AUTHPARAMS

Example Response

<DeleteDhcpOptionsResponse xmlns="http://ec2.amazonaws.com/doc/2011-01-01/">	
   <requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId>  
   <return>true</return>
</DeleteDhcpOptionsResponse>