DeleteRecognizeRule
Deletes a data classification and grading rule defined in Data Security Guard.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:DeleteRecognizeRule |
delete |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SensitiveId |
string |
Yes |
The ID of the sensitive field. You can call the QuerySensNodeInfo operation to query the ID. |
27f5f5e2-ec60-4567-b1e4-77****4 |
| TenantId |
string |
Yes |
The tenant ID. To obtain the tenant ID, perform the following steps: Log on to the DataWorks console. Find your workspace and go to the Data Studio page. On the Data Studio page, click the logon username in the upper-right corner and click User Info in the Menu section. |
10241023 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The returned data. |
||
| Success |
boolean |
Indicates whether the request was successful.
|
true |
| ErrorCode |
string |
The error code. |
9990030003 |
| ErrorMessage |
string |
The error message. |
Missing parameter |
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| Data |
any |
The returned data about whether the deletion is successful. |
{ "HttpStatusCode": 200, "Success": true } |
| RequestId |
string |
The request ID. |
10000001 |
Examples
Success response
JSON format
{
"Success": true,
"ErrorCode": "9990030003",
"ErrorMessage": "Missing parameter",
"HttpStatusCode": 200,
"Data": "{ \"HttpStatusCode\": 200, \"Success\": true }",
"RequestId": "10000001"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | BADPARAMETERS | Parameters are missing or in the wrong format. | |
| 400 | SENSITIVEDELETEERROR | The sensitive field is not allowed to delete. Check sensitive field status and binding desensitization rule. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.