Skip to main content
PATCH
Edit Imported Rule
Partially edit prompt, remediation guidance (fix_note), or extraction confidence for one rule while its customer-owned import is pending review. Requires a full-access API key. The import must still be in a pending-review state (or equivalent pending status that allows edit); concurrent changes return 409.

Path Parameters

string
required
Policy import identifier
string
required
Extracted rule ID within the import (unprefixed)

Request Body

At least one field is required. Explicit null clears prompt or fix_note. prompt is accepted only for AI_SIGNAL rules.
string
AI instruction for AI_SIGNAL rules. Nullable to clear.
string
Remediation guidance. Nullable to clear.
number
Extraction confidence from 0 through 1

Response

Returns the updated extracted rule object (same shape as entries under Get Import Details).

Errors

Example