Required. The name of the rule to delete. A rule revision timestamp cannot be specified as part of the name, as deleting specific revisions is not supported. Format: projects/{project}/locations/{location}/instances/{instance}/rules/{rule}
Query parameters
Parameters
force
boolean
Optional. If set to true, any retrohunts and any detections associated with the rule will also be deleted. If set to false, the call will only succeed if the rule has no associated retrohunts, including completed retrohunts, and no associated detections. Regardless of this field's value, the rule deployment associated with this rule will also be deleted.
Request body
The request body must be empty.
Response body
If successful, the response body is an empty JSON object.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-22 UTC."],[[["This API endpoint is used to delete a specific rule identified by its name, which includes the project, location, instance, and rule identifiers in the format `projects/{project}/locations/{location}/instances/{instance}/rules/{rule}`."],["The `force` query parameter, when set to true, will also delete any associated retrohunts and detections with the rule being deleted; when false, the rule can only be deleted if there are no associated retrohunts or detections."],["The HTTP request method is `DELETE` and the endpoint format is `https://chronicle.googleapis.com/v1alpha/{name}`."],["The request body must be empty, and a successful response will be an empty JSON object."],["Deleting a rule requires the user to be authenticated with `https://www.googleapis.com/auth/cloud-platform` scope, and have the `chronicle.rules.delete` IAM permission on the specified rule resource."]]],[]]