Diffy icon

Diffy

Interact with Diffy AI Code Review API

Pattern → Update Pattern

AI-generated

Summary

Update an existing pattern in Diffy by specifying its ID, and optionally modify its name and pattern content to redefine the pattern.

Inputs

  • Pattern ID (required) — The unique identifier of the pattern to update.
  • Pattern Content (required) — The updated pattern definition content.
  • Pattern Name — Optional new name for the pattern.
  • Additional Parameters — Additional key-value parameters to include in the API request as custom parameters.

Output shape

a single JSON object representing the updated pattern details

The operation returns the updated pattern data from the Diffy API. Errors will be reported per item if configured to continue on failure.

Discussion