Deletes a single DNS record by record ID.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
esa:DeleteRecord |
delete |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RecordId |
integer |
Yes |
The DNS record ID. Call ListRecords to obtain this ID. |
1234567890123 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
F61CDR30-E83C-4FDA-BF73-9A94CDD44229 |
Examples
Success response
JSON format
{
"RequestId": "F61CDR30-E83C-4FDA-BF73-9A94CDD44229"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | Failed to call the service. Try again later or contact technical support. |
| 400 | NoPermission | You do not have permissions to access or operate on the resource.Contact your account administrator to attach the AliyunESAFullAccess policy to the current user. | You do not have permissions to access or operate on the resource.Contact your account administrator to attach the AliyunESAFullAccess policy to the current user. |
| 400 | Instance.NotOnline | Your plan is unavailable due to an overdue payment. Complete the payment first. | Your plan is unavailable due to an overdue payment. Complete the payment first. |
| 400 | Record.Reserved | Another operation on the record is in progress. Try again later. | Another operation on the record is in progress. Try again later. |
| 400 | Record.ServiceBusy | The record is being configured. Try again later. | The record is being configured. Try again later. |
| 400 | Record.ProtectedAsCustomHostnameSource | Failed to delete the record because it is the origin server of existing custom hostnames.Remove all references to the record and try again. | Failed to delete the record because it is the origin server of existing custom hostnames.Remove all references to the record and try again. |
| 404 | Record.NotFound | The record does not exist. Check your configurations and try again. | The record does not exist. Check your configurations and try again. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.