Update Alert Config

PATCH https://api.podengine.ai/api/v1/alerts/alert-config/:alertConfigId

Update an existing alert configuration (name, settings, email frequency, or enabled state).

Request

Path parameters

alertConfigIdstringrequired

ID of the alert configuration.

Request body

updatesobjectrequired4 fields

Fields to update; omitted fields retain their current values.

alertNamestring

New display name for the alert.

emailSettingsobject1 field

Replacement email notification schedule.

frequencyenumrequired

How often alert email notifications should be sent.

hourlydailyweekly
alertSettingsintersection

Replacement matching settings for this alert. If you leave out filters or subjectNote, the alert keeps the ones it has.

enabledboolean

Enable or disable this alert.

Response

200 application/json
statusliteral: OKrequired
dataobjectrequired1 field
updatedAlertConfigobjectrequired12 fields
idstringrequired
createdByUserIdstringrequired
teamIdstringrequired
createdAtdaterequired
updatedAtdaterequired
alertNamestringrequired
alertTypeenumrequired
personcompanycustom-keyword
enabledbooleanrequired
alertSettingsintersectionrequired
emailSettingsobjectrequired1 field
frequencyenumrequired

How often alert email notifications should be sent.

hourlydailyweekly
lastRunDatedaterequirednullable
subjectNoteCheckobjectnullable2 fields

Person and company alerts: the note check of the "Who is this?" note this alert uses. Null when there is no note.

statusenumrequired

passed: matches are checked for the right person or company. failed: see missing. pending: not checked yet.

passedfailedpending
missingstringrequirednullable

When the check failed, what the note needs to tell them apart, e.g. "Add their role or company."