You can call this operation to delete a Domain Name System (DNS) record.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

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

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.


Sample requests

  1.<Common request parameters>

Sample success responses

XML format

  1. <DeleteZoneRecordResponse> <RecordId>5808</RecordId> <RequestId>FEAF2786-5DB3-4A1F-B859-E8B28B672E9B</RequestId></DeleteZoneRecordResponse>

JSON format

  1. {“RecordId”:5808,“RequestId”:”0B7AD377-7E86-44A8-B9A8-53E8666E72FE”}

Error codes

For a list of error codes, visit the API Error Center.