Skip to main content

Delete Rule Set

Use this API to delete a specified SQL rule set. Before deletion, make sure the rule set is no longer required by the environments, data sources, or database groups that depend on it.

Request URL: /openapi/v1/ruleSet/delete

Request Method: POST

Request Parameters

ParameterTypeRequiredDescriptionExample
idStringYesRule set ID. Obtain it by calling List Rule Sets.rs-dii9zwptapl1

Request Example

{
"id": "rs-dii9zwptapl1"
}

Response Parameters

ParameterTypeDescriptionExample
successBooleanWhether the request is successful.true
requestIdStringRequest ID for troubleshooting and tracing.Yu4p1FRZ-CIIJhEPnIFKm1KNdDJi5OGX
errorCodeStringError code returned when the call fails.None
messageStringError message returned when the call fails.None

Successful Invocation Example

{
"success": true,
"requestId": "Yu4p1FRZ-CIIJhEPnIFKm1KNdDJi5OGX"
}

Result

A successful response confirms that the delete request was accepted. If your automation manages rule set bindings, query the rule set list afterward to confirm that the deleted rule set is no longer available.