# Update target items (data sources) that have specified Alert assigned PATCH /v3/alerts/{alertId}/target-items Endpoint: PATCH /v3/alerts/{alertId}/target-items Security: API_Key ## Path parameters: - `alertId` (integer, required) ## Request fields (application/json): - `assignmentUpdates` (array, required) - `assignmentUpdates.scope` (string, required) For forward-compatibility Enum: "SINGLE_ITEM" - `assignmentUpdates.itemType` (string, required) Enum: "AUDIT", "WEB_JOURNEY" - `assignmentUpdates.itemId` (integer, required) ID of the item that can have assigned Alert(s) onto it. See also - `assignmentUpdates.operation` (string, required) Meaning by type: - ASSIGN: add (if not exist) or update (if already exists) alert assignment - UNASSIGN: remove alert assignment. Does nothing if assignment does not exist Enum: "ASSIGN", "UNASSIGN" ## Response 400 fields (application/json): - `timestamp` (string) - `message` (string) - `details` (string) - `validationReport` (object) ## Response 401 fields (application/json): - `timestamp` (string) - `message` (string) - `details` (string) - `validationReport` (object) ## Response 403 fields (application/json): - `timestamp` (string) - `message` (string) - `details` (string) - `validationReport` (object) ## Response 404 fields (application/json): - `timestamp` (string) - `message` (string) - `details` (string) - `validationReport` (object)