Skip to main content

Create a channel

Creates a new Slack notification channel

Request Body
nrn string REQUIRED

The NRN of the resource (including children resources) where the action will apply

type string REQUIRED

Possible values: [slack, http, github, gitlab, azure]

configuration object REQUIRED
channels string[]

[Slack] An array of Slack channels

url string

[HTTP] The URL where the notifications will be sent

Responses
200

The operation was successful

Schema OPTIONAL
id integer

A system-wide unique ID representing the notification channel

nrn string

The NRN of the resource (including children resources) where the action will apply

type string

Possible values: [slack, http, github, gitlab, azure]

configuration object
token string OPTIONAL

[Slack] The Slack token

channels string[] OPTIONAL

[Slack] An array of Slack channels

url string OPTIONAL

[HTTP] The URL where the notifications will be sent