DeleteReusableDelegationSet
Deletes a reusable delegation set.
Important
You can delete a reusable delegation set only if it isn't associated with any hosted zones.
To verify that the reusable delegation set is not associated with any hosted zones, submit a GetReusableDelegationSet request and specify the ID of the reusable delegation set that you want to delete.
Request Syntax
DELETE /2013-04-01/delegationset/Id
HTTP/1.1
URI Request Parameters
The request uses the following URI parameters.
- Id
-
The ID of the reusable delegation set that you want to delete.
Length Constraints: Maximum length of 32.
Required: Yes
Request Body
The request does not have a request body.
Response Syntax
HTTP/1.1 200
Response Elements
If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.
Errors
For information about the errors that are common to all actions, see Common Errors.
- DelegationSetInUse
-
The specified delegation contains associated hosted zones which must be deleted before the reusable delegation set can be deleted.
HTTP Status Code: 400
- DelegationSetNotReusable
-
A reusable delegation set with the specified ID does not exist.
HTTP Status Code: 400
- InvalidInput
-
The input is not valid.
HTTP Status Code: 400
- NoSuchDelegationSet
-
A reusable delegation set with the specified ID does not exist.
HTTP Status Code: 400
Examples
Example Request
This example illustrates one usage of DeleteReusableDelegationSet.
DELETE /2013-04-01/delegationset/N1PA6795SAMPLE
Example Response
This example illustrates one usage of DeleteReusableDelegationSet.
HTTP/1.1 200 OK <?xml version="1.0" encoding="UTF-8"?> <DeleteReusableDelegationSetResponse xmlns="https://route53.amazonaws.com/doc/2013-04-01/"/>
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: