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.
| Name | Description | Required |
|---|---|---|
|
|
The ID of the DHCP options set you want to delete. Type: String Default: None |
Yes |
The elements in the following table are wrapped in an
DeleteDhcpOptionsResponse structure.
| Name | Description |
|---|---|
|
|
The ID of the request. Type: xsd:string |
|
|
Returns true if the request succeeds. Otherwise, returns an error. Type: xsd:boolean |
This example deletes the set of DHCP options with ID dopt-7a8b9c2d.
https://ec2.amazonaws.com/?Action=DeleteDhcpOptions &DhcpOptionsId=dopt-7a8b9c2d &AUTHPARAMS
<DeleteDhcpOptionsResponse xmlns="http://ec2.amazonaws.com/doc/2011-01-01/"> <requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId> <return>true</return> </DeleteDhcpOptionsResponse>