Modifies the API security status for a protected object or a protected object group.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
yundun-waf:ModifyApisecStatus | update | *All Resource
|
| None |
Request parameters
Parameter | Type | Required | Description | Example |
InstanceId | string | Yes | The ID of the WAF instance. Note Call DescribeInstance to query the ID of the WAF instance. | waf-cn-tl32ast**** |
Resources | string | No | The name of the protected object. | alb-wewbb23dfset*** |
ApisecStatus | integer | Yes | The API security status. Valid values:
| 1 |
ResourceGroups | string | No | The name of the protected object group to which the protected object is added. | group |
RegionId | string | No | The region where the WAF instance resides. Valid values:
| cn-hangzhou |
ResourceManagerResourceGroupId | string | No | The ID of the Alibaba Cloud resource group. | rg-acfm***q |
Response elements
Element | Type | Description | Example |
object | The response. | ||
RequestId | string | The request ID. | D7861F61-5B61-46CE-A47C-6B19160D5EB0 |
Examples
Success response
JSON format
{
"RequestId": "D7861F61-5B61-46CE-A47C-6B19160D5EB0"
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.