This documentation is for an older version of GoodData.
Go to the latest version of this article.
catalog_organization.
put_declarative_notification_channels
put_declarative_notification_channels(notification_channels: list[CatalogDeclarativeNotificationChannel])
Put declarative notification channels in the current organization.
Parameters
name | type | description |
---|---|---|
notification_channels | list[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()