Deletes the specified domain name.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
alidns:DeleteDomain |
delete |
*domain
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the response. Valid values:
Default value: en. |
en |
| DomainName |
string |
Yes |
The domain name to delete. The domain name must exist in Alibaba Cloud DNS. Call the DescribeDomains operation to obtain existing domain names. |
example.com |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The unique ID of the request. |
536E9CAD-DB30-4647-AC87-AA5CC38C5382 |
| DomainName |
string |
The domain name. |
example.com |
Examples
Success response
JSON format
{
"RequestId": "536E9CAD-DB30-4647-AC87-AA5CC38C5382",
"DomainName": "example.com"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.