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

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 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 127.0.0.1

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.

Examples

Sample request


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

Sample success response

XML format

<SaveSingleTaskForDeletingDnsHostResponse>
      <TaskNo>8fc97e44-837a-447d-ac61-ea28d2fexxxx</TaskNo>
      <RequestId>B0AC8092-3FE3-4EBC-9620-EC4BB1FB75D3</RequestId>
</SaveSingleTaskForDeletingDnsHostResponse>

JSON format

{
	"TaskNo":"8fc97e44-837a-447d-ac61-ea28d2fexxxx",
	"RequestId":"B0AC8092-3FE3-4EBC-9620-EC4BB1FB75D3"
}

Error codes

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