pycti.api.opencti_api_trash =========================== .. py:module:: pycti.api.opencti_api_trash Classes ------- .. autoapisummary:: pycti.api.opencti_api_trash.OpenCTIApiTrash Module Contents --------------- .. py:class:: OpenCTIApiTrash(api) OpenCTI Trash API class. Manages trash/delete operations. :param api: instance of :py:class:`~pycti.api.opencti_api_client.OpenCTIApiClient` :type api: OpenCTIApiClient Initialize the OpenCTIApiTrash instance. :param api: OpenCTI API client instance :type api: OpenCTIApiClient .. py:attribute:: api .. py:method:: restore(operation_id: str) Restore a deleted item from trash. :param operation_id: the delete operation id :type operation_id: str :return: None :rtype: None .. py:method:: delete(**kwargs) Delete a trash item given its ID. :param id: ID for the delete operation on the platform :type id: str :return: None :rtype: None