DeleteBatchDomains
Description
Domain names are batch deleted based on input parameters.This operation uses HTTP POST requests.
Request Parameters
Name | Type | Required? | Description |
---|---|---|---|
Action | String | Yes | Operator interface name, required parameter, value:DeleteBatchDomains |
Domains | String | Yes | Submits the domain names to delete in JSON string format (does not contain line breaks). A maximum of 5,000 domain names can be submitted at a time |
Return Parameters
Public return parameters. For details, see Public Return Parameters
Name | Type | Description |
---|---|---|
RequestId | String | The unique request identifier |
TraceId | String | The batch task ID |
Error Codes
For errors common to all interfaces, please refer to the Error Code Table.
Error Code | Description | HTTP Status Code | Meaning |
---|---|---|---|
IllegalUser | The user ID is illegal. | 400 | The user ID is not authorized |
QuotaExceeded.BatchNumber | You Can’t finish this operation because the batch number has been out of MAX count. | 400 | Batch operation data exceeds the limit |
OperationThreadInUsed | You Can’t finish this operation because the thread of operation has been in used. | 400 | The batch operation threads are being used by another user |
DataFormatError | The data format is error. | 400 | Incorrect data format |
Example
Request Example
http://dns.aliyuncs.com/?Action=DeleteDomain HTTP 1.1
Domains={
"Domains": [
{
"Index": "1",
"Domain": "abc.com"
},
{
"Index": "2",
"Domain": "example.com"
},
{
"Index": "10000",
"Domain": "news.com"
}
]
}&<Public Request Parameters>
Return Example
XML Format
<DeleteBatchDomainsResponse>
<RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>
<TraceId>10001</TraceId>
</DeleteBatchDomainsResponse>
JSON Example
{
"RequestId": "536E9CAD-DB30-4647-AC87-AA5CC38C5382",
"TraceId": "10001"
}