You can call this operation to submit a task for deleting a DNS host.


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 SaveSingleTaskForDeletingDnsHost

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

DnsName String Yes dns1

The name of the DNS server.

InstanceId String Yes S2019270W570xxxx

The instance ID of the domain name, which is also the sale ID.

Lang String No en

The language of the error message returned. Valid values:

  • zh: Chinese
  • en: English

Default value: en.

UserClientIp String No

The IP address of the user.

Response parameters

Parameter Type Example Description
RequestId String 8fc97e44-837a-447d-ac61-ea28d2fe8a38

The ID of the request.

TaskNo String 8fc97e44-837a-447d-ac61-ea28d2fexxxx

The task ID.


Sample request

http(s)://[Endpoint]/? Action=SaveSingleTaskForDeletingDnsHost
&<Common request parameters>

Sample success response

XML format


JSON format


Error codes

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