Skip to main content
PATCH
Patch Pattern

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

pattern_id
string
required

Body

application/json

V2 fix (API-IMPLEMENTATION-SPEC.md §2 disposition table, I4): allowed fields shrink to {status, assignee, notes} — name/fingerprint/cluster_id are engine-owned outputs, not client-patchable. assignee maps to the assignee_id column (migration 0048); notes maps to the existing resolution_note column (storage name kept, API name renamed).

Task LB6: owner_user_id (migration 0069) is a NEW, separately-tracked column — the frontend's pinned Pattern.owner_user_id shape — validated in the router as a real member of the pattern's workspace (400 on a non-member); null explicitly unassigns. Deliberately not merged with the legacy, unvalidated assignee/assignee_id pair above.

assignee
string | null
notes
string | null
Maximum string length: 5000
owner_user_id
string | null
status
enum<string> | null
Available options:
emerging,
active,
mitigating,
resolved

Response

Successful Response