catalog_organization.

put_declarative_notification_channels

put_declarative_notification_channels(notification_channels: list[CatalogDeclarativeNotificationChannel])

Put declarative notification channels in the current organization.

Parameters

nametypedescription
notification_channelslist[CatalogDeclarativeNotificationChannel]List of declarative notification channels.

Returns

None

Example

from gooddata_sdk import CatalogDeclarativeNotificationChannel, CatalogWebhook

notification_channels = [CatalogDeclarativeNotificationChannel(
    id="webhook", name="Webhook", destination=CatalogWebhook(url="https://webhook.site", token="123")
)]
sdk.catalog_organization.put_declarative_notification_channels()