Calls the UnbindInstanceDomains operation to unbind a domain name from a paid Alibaba Cloud DNS instance based on the instance ID.

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 UnbindInstanceDomains

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

DomainNames String Yes example1.com,example2.com

The list of domain names.

Separate multiple domain names with commas (,). A maximum of 100 domain names can be entered.

InstanceId String Yes 123

The ID of the instance.

Lang String No en

The language type.

Response parameters

Parameter Type Example Description
FailedCount Integer 0

The number of domain names that failed to be unbound.

RequestId String 123

The ID of the request.

SuccessCount Integer 2

The number of domain names that have been unbound.

Examples

Sample requests


http(s)://alidns.aliyuncs.com/?Action=UnbindInstanceDomains
&DomainNames=example1.com,example2.com
&InstanceId=123
&<Common request parameters>

Sample success responses

XML format

<UnbindInstanceDomainsResponse>
        <RequestId>536E9CAD-DB30-4647-AC87-AA5CC38C5382</RequestId>
        <SuccessCount>2</SuccessCount>
        <FailedCount>0</FailedCount>
</UnbindInstanceDomainsResponse>

JSON format

{
	"FailedCount":0,
	"RequestId":"536E9CAD-DB30-4647-AC87-AA5CC38C5382",
	"SuccessCount":2
}

Error codes

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