DeleteZoneRecord
Deletes a DNS record based on the record ID.
Operation description
Precautions
Deleted records cannot be recovered. Proceed with caution.
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 user IP address. |
127.0.XX.XX |
| ClientToken |
string |
No |
Ensures the idempotence of the request. The value is generated by the client and must be unique across different requests. The value can be up to 64 ASCII characters in length. |
6447728c8578e66aacf062d2df4446dc |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The unique request ID. |
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.