PUT /alerts/{id}
PUTalerts/:id
Update an existing alert rule by its ID
Path Parameters
id string Required
User alert ID
Request Body
name string Required
Name of the alert for easy identification
profile_id string
Profile ID to associate alert with the specific profile
is_active array
Enable or disable the current alert, preserving alert's settings
is_on_dashboards array
Show an alert on dashboards
is_in_daily_report array
Include an alert notifications in the daily email report
is_instant_alert array
Send an immediate notification when the alert is triggered
instant_alert_email string
Email address to receive instant alert notifications. Required if is_instant_alert is true
webhook_url string
URL endpoint to send a POST request with alert data when triggered
slack_integration_id string
Slack integration ID to send notifications to a Slack channel
rules array Required
Array of alert rules that define trigger conditions
formula string
Logical formula combining multiple rules (e.g., "rule1 AND rule2 OR rule3"). Required when multiple rules are defined
Returns
- idstringUnique identifier of the alert
- namestringName of the alert
- profile_idstringAssociated profile ID
- is_activearrayIndicates if the current alert is enabled
- is_on_dashboardsarrayIndicates if the alert is displayed on dashboards
- is_in_daily_reportarrayIndicates if the alert is included in daily email reports
- is_instant_alertarrayIndicates if instant notifications are enabled
- instant_alert_emailstringEmail address for instant alert notifications
- webhook_urlstringWebhook URL for HTTP POST notifications
- slack_integration_idstringSlack integration ID for Slack notifications
- rulesarrayArray of configured alert rules
- typestringType of alert rule to monitor specific conditionsAllowed values:
IP_IN_RBL,DOMAIN_IN_RBL,GP_DOMAIN_REPUTATION,GP_IP_REPUTATION,GP_USER_REPORTED_SPAM_RATIO,GP_SPF_SUCCESS_RATIO,GP_DKIM_SUCCESS_RATIO,GP_DMARC_SUCCESS_RATIO,GP_OUTBOUND_ENCRYPTION_RATIO,GP_INBOUND_ENCRYPTION_RATIO,GP_DELIVERY_ERROR_RATIO,SNDS_FILTER_RESULT,SNDS_BOUNCE_RATE,SNDS_COMPLAINT_RATE,SNDS_TRAP_HITS,LOOKALIKE_REG_CREATED_DATE,LOOKALIKE_REG_UPDATED_DATE,TRAPS_IP,TRAPS_DOMAIN_FROM,HONEYTOKEN_DOMAIN_COUNT_PER_PERIOD - keystringApplies only if formula is sent. Used in the formula
- ipsarrayApplies only for IP_IN_RBL rule type
- domainsarrayApplies only for DOMAIN_IN_RBL rule type
- rblsarrayApplies for IP_IN_RBL, DOMAIN_IN_RBL rule types
- gp_ipsarrayApplies only for GP_IP_REPUTATION rule type
- gp_ip_reputationsarrayApplies only for GP_IP_REPUTATION rule typeAllowed values:
REPUTATION_CATEGORY_UNSPECIFIED,HIGH,MEDIUM,LOW,BAD - gp_domainsarrayApplies only for GP_DOMAIN_REPUTATION rule type
- gp_domain_reputationsarrayApplies only for GP_DOMAIN_REPUTATION rule typeAllowed values:
REPUTATION_CATEGORY_UNSPECIFIED,HIGH,MEDIUM,LOW,BAD - gp_user_reported_spam_ratioobjectApplies only for GP_USER_REPORTED_SPAM_RATIO rule type
- valuenumber
- operatorstringAllowed values:
gt,gte,lt,lte,eq
- gp_spf_success_ratioobjectApplies only for GP_SPF_SUCCESS_RATIO rule type
- valuenumber
- operatorstringAllowed values:
gt,gte,lt,lte,eq
- gp_dkim_success_ratioobjectApplies only for GP_DKIM_SUCCESS_RATIO rule type
- valuenumber
- operatorstringAllowed values:
gt,gte,lt,lte,eq
- gp_dmarc_success_ratioobjectApplies only for GP_DMARC_SUCCESS_RATIO rule type
- valuenumber
- operatorstringAllowed values:
gt,gte,lt,lte,eq
- gp_inbound_encryption_ratioobjectApplies only for GP_INBOUND_ENCRYPTION_RATIO rule type
- valuenumber
- operatorstringAllowed values:
gt,gte,lt,lte,eq
- gp_outbound_encryption_ratioobjectApplies only for GP_OUTBOUND_ENCRYPTION_RATIO rule type
- valuenumber
- operatorstringAllowed values:
gt,gte,lt,lte,eq
- gp_delivery_error_ratioobjectApplies only for GP_DELIVERY_ERROR_RATIO rule type
- valuenumber
- operatorstringAllowed values:
gt,gte,lt,lte,eq
- snds_ipsarrayApplies only for SNDS_FILTER_RESULT rule type
- snds_filter_resultarrayApplies only for SNDS_FILTER_RESULT rule typeAllowed values:
GREEN,YELLOW,RED - snds_bounce_rateobjectApplies only for SNDS_BOUNCE_RATE rule type
- valuenumber
- operatorstringAllowed values:
gt,gte,lt,lte,eq
- snds_complaint_rateobjectApplies only for SNDS_COMPLAINT_RATE rule type
- valuenumber
- operatorstringAllowed values:
gt,gte,lt,lte,eq
- snds_trap_hitsobjectApplies only for SNDS_TRAP_HITS rule type
- valuenumber
- operatorstringAllowed values:
gt,gte,lt,lte,eq
- lookalike_reg_created_dateobjectApplies only for LOOKALIKE_REG_CREATED_DATE rule type
- valuestringAllowed values:
ONE_DAY,ONE_WEEK,ONE_MONTH,ONE_YEAR - operatorstringAllowed values:
gt,lt
- valuestring
- lookalike_reg_updated_dateobjectApplies only for LOOKALIKE_REG_UPDATED_DATE rule type
- valuestringAllowed values:
ONE_DAY,ONE_WEEK,ONE_MONTH,ONE_YEAR - operatorstringAllowed values:
gt,lt
- valuestring
- dmarc_spf_failobjectApplies only for DMARC_SPF_FAIL rule type
- valuenumber
- operatorstringAllowed values:
gt,gte - time_rangestringAllowed values:
ONE_DAY,ONE_WEEK,ONE_MONTH
- dmarc_dkim_failobjectApplies only for DMARC_DKIM_FAIL rule type
- valuenumber
- operatorstringAllowed values:
gt,gte - time_rangestringAllowed values:
ONE_DAY,ONE_WEEK,ONE_MONTH
- dmarc_dmarc_failobjectApplies only for DMARC_DMARC_FAIL rule type
- valuenumber
- operatorstringAllowed values:
gt,gte - time_rangestringAllowed values:
ONE_DAY,ONE_WEEK,ONE_MONTH
- dmarc_spf_alignment_failobjectApplies only for DMARC_SPF_ALIGNMENT_FAIL rule type
- valuenumber
- operatorstringAllowed values:
gt,gte - time_rangestringAllowed values:
ONE_DAY,ONE_WEEK,ONE_MONTH
- dmarc_dkim_alignment_failobjectApplies only for DMARC_DKIM_ALIGNMENT_FAIL rule type
- valuenumber
- operatorstringAllowed values:
gt,gte - time_rangestringAllowed values:
ONE_DAY,ONE_WEEK,ONE_MONTH
- traps_ipsarrayApplies only for TRAPS_IP rule type
- traps_domains_fromarrayApplies only for TRAPS_DOMAIN_FROM rule type
- honeytoken_domainsarrayApplies only for HONEYTOKEN_DOMAIN_COUNT_PER_PERIOD rule type. Use one of the special values or provide specific domain names:
ALL_HONEYTOKEN_DOMAINSto match all domains,TRUSTED_HONEYTOKEN_DOMAINSto match only trusted domains,NOT_TRUSTED_HONEYTOKEN_DOMAINSto match only non-trusted domains. Special values must be the only element in the array - honeytoken_domain_count_per_periodobjectApplies only for HONEYTOKEN_DOMAIN_COUNT_PER_PERIOD rule type
- valuenumber
- operatorstringAllowed values:
gt,gte,lt,lte,eq - time_rangestringAllowed values:
ONE_DAY,ONE_WEEK,ONE_MONTH
- typestring
- formulastringLogical formula combining multiple rules, present only when multiple rules are configured
- created_atstringTimestamp when the alert was created
- updated_atstringTimestamp when the alert was last updated
400 Bad Request
Bad Request
401 Unauthorized
Unauthorized
403 Forbidden
Forbidden
500 Internal Server Error
Internal server error