You can call the DisableUserConfig operation to disable a user configuration. After a configuration is disabled, you can call the CreateConfig operation and specify the same Code parameter to restore the general anomaly alert configuration.
Operation description
This operation disables a user configuration based on the code of a configuration item in the general anomaly alert configuration module. This lets you promptly change the status of the user configuration.
QPS limits
This operation is limited to 10 queries per second (QPS) per user. Calls that exceed this limit are throttled. Throttling may impact your business. Plan your calls accordingly.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sddp:DisableUserConfig |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Lang |
string |
No |
The language of the request and response. Valid values:
|
zh_cn |
| Code |
string |
No |
The code of the configuration item in the general anomaly alert configuration module. Call the DescribeConfigs operation to obtain the code. |
access_failed_cnt |
| FeatureType |
integer |
No |
This parameter is deprecated. |
2 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
AC314611-D907-5EBF-B6D8-70425E5A8643 |
Examples
Success response
JSON format
{
"RequestId": "AC314611-D907-5EBF-B6D8-70425E5A8643"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.