You can call this operation to delete a custom sensitive data detection rule from Sensitive Data Discovery and Protection (SDDP).

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DeleteRule

The operation that you want to perform. Set the value to DeleteRule.

Id Long Yes 122300

The unique ID of the sensitive data detection rule to delete.

You can call the DescribeRules operation to query the ID of the sensitive data detection rule.

Lang String No zh

The language of the request and response. Valid values:

  • zh: Chinese
  • en: English

Response parameters

Parameter Type Example Description
RequestId String 7C3AC882-E5A8-4855-BE77-B6837B695EF1

The ID of the request.

Examples

Sample requests


http(s)://[Endpoint]/? Action=DeleteRule
&<Common request parameters>

Sample success responses

XML format

<DeleteRule>
	  <RequestId>7C3AC882-E5A8-4855-BE77-B6837B695EF1</RequestId>
	</DeleteRule>

JSON format

{
	"RequestId":"7C3AC882-E5A8-4855-BE77-B6837B695EF1"
}

Error codes

For a list of error codes, visit the API Error Center.