Skip to main content
PUT
Update the Slack settings

Authorizations

Authorization
string
header
required

An sre_ak_* API key holding the api:admin scope (or api:config_read, which every write refuses with read_only_key).

Body

application/json
bot_token
string<password>
write-only
default_channel_critical
string

Where critical alerts post when no route names a channel.

default_channel_info
string

Where info alerts post when no route names a channel.

default_channel_remediation
string

Where remediation updates post.

default_channel_warning
string

Where warning alerts post when no route names a channel.

enabled
boolean
name
string

Required the first time; an update that omits it keeps the stored name.

signing_secret
string<password>
write-only
team_id
string

The T... workspace id. Verified against Slack using this workspace's bot token: it is only accepted when Slack confirms the token belongs to that workspace. Several organizations may share one workspace.

workspace_name
string

Response

Updated.