PUT
Replace the organization's alert settings

Authorizations

Authorization
string
header
required

Authorization: Bearer twk_<prefix>_<secret>.

The prefix is public and safe to log: it is what identifies which credential leaked. The secret is never logged, never returned after creation, and stored only as a SHA-256 hash.

Body

application/json
email_findings
boolean
email_verdicts
boolean
email_recipients
string<uuid>[]
Maximum array length: 50
slack_webhook_url
string
slack_findings
boolean
slack_verdicts
boolean
email_sla_breaches
boolean

Findings past their SLA deadline. Absent keeps it as it is.

slack_sla_breaches
boolean

Findings past their SLA deadline. Absent keeps it as it is.

Response

The saved settings.

email_findings
boolean
email_verdicts
boolean
email_recipients
string<uuid>[]
slack_findings
boolean
slack_verdicts
boolean
email_sla_breaches
boolean
slack_sla_breaches
boolean
slack_configured
boolean
email_available
boolean
updated_at
string<date-time>