Calls the DeleteDomainRecord operation to delete a DNS record based on input parameters.

Debugging

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 DeleteDomainRecord

The operation that you want to perform. Set the value to DeleteDomainRecord.

RecordId String Yes 9999985

The ID of the DNS record.

This parameter is returned when you add a DNS record or when you query the list of DNS records.

AccessKeyId String No your_accesskey_id

The AccessKey ID provided to you by Alibaba Cloud.

Lang String No en

The language type.

UserClientIp String No 1.1.1.1

The IP address of the client.

Response parameters

Parameter Type Example Description
RecordId String 9999985

The ID of the DNS record.

RequestId String 536E9CAD-DB30-4647-AC87-AA5CC38C5382

The ID of the request.

Examples

Sample requests


http(s)://alidns.aliyuncs.com/?Action=DeleteDomainRecord
&RecordId=9999985
&<Common request parameters>

Sample success responses

XML format

<DeleteDomainRecordResponse>
      <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>
      <RecordId>9999985</RecordId>
</DeleteDomainRecordResponse>

JSON format

{
	"RecordId":"9999985",
	"RequestId":"536E9CAD-DB30-4647-AC87-AA5CC38C5382"
}

Error codes

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