Modifies the annotation of an API asset in the API security module of Web Application Firewall (WAF).
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:ModifyApisecApiResource |
update |
*All Resource
|
|
None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The ID of the WAF instance. Note
You can call the DescribeInstance operation to query the ID of the WAF instance. |
waf_elasticity-cn-0xldbqt**** |
| Follow |
integer |
No |
Indicates whether to follow the API asset. Valid values:
|
0 |
| Note |
string |
No |
The remarks of the API asset. You can use this parameter to add a custom annotation to the API asset for easier identification. |
know |
| ApiId |
string |
Yes |
The ID of the API asset that you want to modify. |
c68995b89069595c5c0399676f3ca64f |
| ClusterId |
string |
No |
The ID of the hybrid cloud cluster. Note
This parameter is required only for hybrid cloud scenarios. You can call the DescribeHybridCloudClusters operation to query the ID of the hybrid cloud cluster. |
428 |
| 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 to which the WAF instance belongs. |
rg-acfm***q |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
D7861F61-5B61-46CE-A47C-6B19****5EB0 |
Examples
Success response
JSON format
{
"RequestId": "D7861F61-5B61-46CE-A47C-6B19****5EB0"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.