You can call this operation to delete a Domain Name System (DNS) record.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DeleteZoneRecord | The operation that you want to perform. Set the value to DeleteZoneRecord. |
RecordId | Long | Yes | 5808 | The ID of the DNS record. |
Lang | String | No | en | The language of the specific content returned in the response. |
UserClientIp | String | No | 1.1.1.1 | The IP address of the client. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RecordId | Long | 5808 | The ID of the DNS record. |
RequestId | String | 0B7AD377-7E86-44A8-B9A8-53E8666E72FE | The ID of the request. |
Examples
Sample requests
http://pvtz.aliyuncs.com/?Action=DeleteZoneRecord&RecordId=5808&<Common request parameters>
Sample success responses
XML
format
<DeleteZoneRecordResponse> <RecordId>5808</RecordId> <RequestId>FEAF2786-5DB3-4A1F-B859-E8B28B672E9B</RequestId></DeleteZoneRecordResponse>
JSON
format
{“RecordId”:5808,“RequestId”:”0B7AD377-7E86-44A8-B9A8-53E8666E72FE”}
Error codes
For a list of error codes, visit the API Error Center.