The DeleteZoneRecord operation deletes a DNS record by its ID.
Operation description
Notes
This operation is irreversible. Deleted records cannot be recovered.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
pvtz:DeleteZoneRecord |
delete |
*Zone
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the response. Valid values:
Default value: en. |
en |
| RecordId |
integer |
Yes |
The ID of the DNS record. |
306279**** |
| UserClientIp |
string |
No |
The IP address of the client. |
127.0.XX.XX |
| ClientToken |
string |
No |
The client token that is used to ensure the idempotence of the request. Generate a value that is unique for each request. The token can contain a maximum of 64 ASCII characters. |
6447728c8578e66aacf062d2df4446dc |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The unique ID of the request. |
0B7AD377-7E86-44A8-B9A8-53E8666E72FE |
| RecordId |
integer |
The ID of the DNS record. |
306279**** |
Examples
Success response
JSON format
{
"RequestId": "0B7AD377-7E86-44A8-B9A8-53E8666E72FE",
"RecordId": 0
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.