Deletes a domain name that has been added to Web Application Firewall (WAF) in CNAME record mode.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DeleteDomain |
delete |
DefenseResource
DefenseResource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the WAF instance. Note
Call DescribeInstance to view the ID of the current WAF instance. |
waf_cdnsdf3**** |
| Domain |
string |
No |
The domain name that is added to WAF. |
www.aliyundoc.com |
| RegionId |
string |
Yes |
The region of the WAF instance. Valid values:
|
cn-hangzhou |
| AccessType |
string |
No |
The access type of the WAF instance. Valid values:
|
share |
| DomainId |
string |
No |
The domain ID. |
www.aliyundoc.com-waf |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned result. |
||
| RequestId |
string |
The request ID. |
D7861F61-5B61-46CE-A47C-6B19160D5EB0 |
Examples
Success response
JSON format
{
"RequestId": "D7861F61-5B61-46CE-A47C-6B19160D5EB0"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | Waf.Control.DomainAndDomainIdBothEmpty | domain and domainId cannot be empty at the same time. | |
| 400 | Waf.Control.DomainAndDomainIdNotMatch | domain and domainId do not match. | |
| 400 | Waf.Control.DomainIdIsIllegal | The input parameter, the domainId is illegal. | |
| 400 | Waf.Pullin.BatchDnsScheduleCheckFailed | Batch dns scheduling is in progress, and access related operations are prohibited. | batch dns scheduling is in progress, and access-related operations are prohibited. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.