Deletes the forwarding rule of a website.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DeleteWebRule |
The operation that you want to perform. Set the value to DeleteWebRule. |
RegionId | String | No | cn-hangzhou |
The region ID of the instance. Valid values:
|
ResourceGroupId | String | No | rg-acfm2pz25js**** |
The ID of the resource group to which the instance belongs in Resource Management. This parameter is empty by default, which indicates that the instance belongs to the default resource group. For more information about resource groups, see Create a resource group. |
Domain | String | Yes | www.aliyun.com |
The domain name of the website from which you want to delete the forwarding rule. Note A forwarding rule must be configured for the domain name. You can call the DescribeDomains operation to query the domain names for which forwarding rules are configured.
|
All Alibaba Cloud API operations must include common request parameters. For more information about common request parameters, see Common parameters.
For more information about sample requests, see the "Examples" section of this topic.
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7 |
The ID of the request. |
Examples
Sample requests
http(s)://[Endpoint]/?Action=DeleteWebRule
&Domain=www.aliyun.com
&Common request parameters
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<DeleteWebRuleResponse>
<RequestId>9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7</RequestId>
</DeleteWebRuleResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "9EC62E89-BD30-4FCD-9CB8-FA53865FF0D7"
}
Error codes
For a list of error codes, visit the API Error Center.