Diffy icon

Diffy

Interact with Diffy AI Code Review API

Rule → Delete Global Rule

AI-generated

Summary

Delete a global rule by its ID from the Diffy AI Code Review API.

Inputs

  • Rule ID (required) — The ID of the global rule to delete.
  • Additional Parameters — Optional additional key-value parameters to include in the API request.

Output shape

a JSON object confirming deletion or error information

The operation sends a DELETE request to remove the specified global rule. If successful, the response from the API is returned as JSON. Errors are returned as error messages in JSON if the request fails.

Examples

Example 1: Delete a global rule with ID 123

Set 'Rule ID' to 123; optionally add extra parameters under 'Additional Parameters' for the API request.

Discussion