Calls the UnbindInstanceDomains operation to unbind a domain name from a paid Alibaba Cloud DNS instance based on the instance ID.
Debugging
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 | example.com,example.net |
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=example.com,example.net
&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.