Deletes one or more specified masking rules.


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 DeleteMaskingRules

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

RuleNameList String Yes testrule

The name of the masking rule that you want to delete. You can specify multiple masking rules at a time. Separate the masking rules with commas (,).

Note You can call the DescribeMaskingRules operation to query details of all the masking rules for a specified cluster, such as the names of the masking rules.
DBClusterId String Yes pc-*****************

The ID of the cluster.

Note You can call the DescribeDBClusters operation to query the details of the clusters that belong to your Alibaba Cloud account, such as cluster IDs.

Response parameters

Parameter Type Example Description
RequestId String 2BCEE25B-797C-426B-BA7B-D28CCF******

The ID of the request.

Message String Successful

The message returned for the request.

Note If the request is successful, Successful is returned. If the request fails, an exception that contains an error code is returned.
Success Boolean true

The result of the request.


Sample requests

&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK


JSON format

HTTP/1.1 200 OK

  "Message" : "Successful",
  "RequestId" : "2BCEE25B-797C-426B-BA7B-D28CCF******",
  "Success" : true

Error codes

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