# Update Alerts assigned to specified item (audit, journey etc) PATCH /v3/alerts/assignments/{itemType}/{itemId} Endpoint: PATCH /v3/alerts/assignments/{itemType}/{itemId} Security: API_Key ## Path parameters: - `itemType` (string, required) Enum: "AUDIT", "WEB_JOURNEY" - `itemId` (integer, required) ID of the item that can have assigned Alert(s) onto it. See also ## Request fields (application/json): - `assignmentUpdates` (array, required) - `assignmentUpdates.alertId` (integer, required) - `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)