Updates the ICP filing status of an accelerated domain name.
Usage notes
You can call this operation to obtain and update the ICP filing status of an accelerated domain name.
You cannot repeatedly call the UpdateDomainState by using the same Alibaba Cloud account within a specific period of time.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | UpdateDomainState | The operation that you want to perform. Set the value to UpdateDomainState. |
Domain | String | Yes | www.example.com | The accelerated domain name whose ICP filing status you want to update. |
RegionId | String | No | cn-hangzhou | The ID of the region where the Global Accelerator (GA) instance is deployed. Set the value to cn-hangzhou. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 04F0F334-1335-436C-A1D7-6C044FE73368 | The ID of the request. |
Domain | String | www.example.com | The accelerated domain name. |
State | String | active | The ICP filing status of the accelerated domain name.
|
Examples
Sample requests
http(s)://[Endpoint]/?Action=UpdateDomainState
&Domain=www.example.com
&RegionId=cn-hangzhou
&Common request parameters
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<UpdateDomainStateResponse>
<RequestId>04F0F334-1335-436C-A1D7-6C044FE73368</RequestId>
<Domain>www.example.com</Domain>
<State>active</State>
</UpdateDomainStateResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "04F0F334-1335-436C-A1D7-6C044FE73368",
"Domain" : "www.example.com",
"State" : "active"
}
Error codes
For a list of error codes, see Service error codes.