| « PreviousNext » | |
![]() ![]() | Did this page help you? Yes | No | Tell us about it... |
Deletes a set of DHCP options that you specify. The API action 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 DHCP options sets, see Using DHCP Options with Your VPC in the Amazon Virtual Private Cloud User Guide.
DhcpOptionsIdThe ID of the DHCP options set.
Type: String
Default: None
Required: Yes
The following elements are returned in an
DeleteDhcpOptionsResponse 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 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/2013-02-01/"> <requestId>7a62c49f-347e-4fc4-9331-6e8eEXAMPLE</requestId> <return>true</return> </DeleteDhcpOptionsResponse>