All Products
Search
Document Center

Data Security Center:DisableUserConfig

Last Updated:Oct 17, 2024

Disables a configuration item. After you disable a configuration item, you can call the CreateConfig operation to enable the configuration item by specifying the code of the configuration item for the Code parameter in the request.

Operation description

You can call this operation to disable a configuration item based on the code of the configuration item. This helps you modify configurations at the earliest opportunity.

Limits

You can call this operation up to 10 times per second per account. If the number of the calls per second exceeds the limit, throttling is triggered. As a result, your business may be affected. We recommend that you take note of the limit when you call this operation.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
LangstringNo

The language of the content within the request and response. Valid values:

  • zh_cn: Chinese (default)
  • en_us: English
zh_cn
CodestringNo

The code of the configuration item. You can call the DescribeConfigs operation to obtain the code of the configuration item.

access_failed_cnt
FeatureTypeintegerNo

This parameter is deprecated.

1

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

AC314611-D907-5EBF-B6D8-70425E5A8643

Examples

Sample success responses

JSONformat

{
  "RequestId": "AC314611-D907-5EBF-B6D8-70425E5A8643"
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-03-25The request parameters of the API has changedView Change Details