pycti.api.opencti_api_notification ================================== .. py:module:: pycti.api.opencti_api_notification Classes ------- .. autoapisummary:: pycti.api.opencti_api_notification.OpenCTIApiNotification Module Contents --------------- .. py:class:: OpenCTIApiNotification(api) OpenCTI Notification API class. Manages notification operations. :param api: instance of :py:class:`~pycti.api.opencti_api_client.OpenCTIApiClient` :type api: OpenCTIApiClient Initialize the OpenCTIApiNotification instance. :param api: OpenCTI API client instance :type api: OpenCTIApiClient .. py:attribute:: api .. py:method:: delete(**kwargs) Delete a notification. :param id: the notification id :type id: str :return: None :rtype: None .. py:method:: update_field(**kwargs) Update a notification field. :param id: the notification id :type id: str :param input: the input fields to update (list of key/value dicts) :type input: list :return: None :rtype: None .. py:method:: mark_as_read(notification_id: str, read: bool) Mark a notification as read or unread. :param notification_id: the notification id :type notification_id: str :param read: whether to mark as read (True) or unread (False) :type read: bool :return: None :rtype: None