Setup Filter Group Notification
POST/v0/setup_filter_group_notification
Set up or manage a notification for a specific filter group.
Args: request: The HTTP request filter_group_id: The ID of the filter group to set up notifications for notification_type: The type of notification channel ("slack" or "email" only for now) status: Whether to enable ("on") or disable ("off") notifications cooldown_seconds: The cooldown period in seconds for notifications (default of 0 will use default cooldowns of 24 hours (email) and 1 minute (slack)).
Returns: dict: Details about the notification configuration
Request
Responses
- 200
- 400
- 401
- 404
- 422
Successful Response
Input data is incorrect
Okareo API token has failed authentication
Data is not found
Input data is invalid