Enables or disables a sensitive data detection rule.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Lang | string | No | The language of the content within the request and response. Valid values:
| zh |
Id | long | No | The ID of the sensitive data detection rule. Note
You can query the ID of the sensitive data detection rule by calling the DescribeRules operation.
| 12341 |
Ids | string | No | The ID of the sensitive data detection rule. Separate multiple IDs with commas (,). Note
You can query the ID of the sensitive data detection rule by calling the DescribeRules operation.
| 1,2,3,4 |
Status | integer | Yes | Specifies whether to enable or disable the sensitive data detection rule. Valid values:
| 1 |
Response parameters
Examples
Sample success responses
JSON
format
{
"FailedIds": "1,2,3,4",
"RequestId": "7C3AC882-E5A8-4855-BE77-B6837B695EF1"
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history