UpdateWebFilterTemplate
Modifies the name, status, or description of a web filtering template. The template ID must belong to the current Alibaba Cloud account.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-cloudfirewall:UpdateWebFilterTemplate |
update |
*All Resource
|
None | None |
Request syntax
GET HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| WebFilterTemplateId |
string |
Yes |
The ID of the web filtering template to be modified. The template must exist within the current Alibaba Cloud account. |
wft-3f2a9c1d4b5e6f70 |
| Name |
string |
No |
The name of the web filtering template. The name must be 1 to 64 characters in length and can contain Chinese characters, English letters, digits, hyphens (-), underscores (_), and periods (.). It cannot contain spaces. If this parameter is not specified or is left empty, the original value is retained. |
Web filtering template 02 |
| Status |
string |
No |
The status of the web filtering template. Valid values:
|
Disable |
| Description |
string |
No |
The description of the web filtering template. The description can be up to 128 characters in length. If this parameter is not specified, the original value is retained. If an empty string is specified, the description is cleared. |
Web filtering template for URL access control |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response data. |
||
| RequestId |
string |
The request ID. |
CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D |
Examples
Success response
JSON format
{
"RequestId": "CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ErrorWebFilterTemplateNotFound | Web filter template not found. | Web filtering template does not exist |
| 400 | ErrorTemplateNameInvalid | Parameter template name invalid. | Template name error |
| 400 | ErrorDescriptionInvalid | Parameter description invalid. | Parameter description error |
| 400 | ErrorParameters | Parameters error. | Parameter error. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.