DeleteItem¶
This documentation provides details about the DeleteItem class within the pyews
package.
This class is used to delete items (typically mailbox items) from the specified user mailbox.
-
class
pyews.endpoint.deleteitem.
DeleteItem
(item_id, delete_type='MoveToDeletedItems')¶ Deletes the provided Item ID from an Exchange store.
- Args:
- item_id (str): The Item ID to delete delete_type (str, optional): The delete type when deleting the item. Defaults to ‘MoveToDeletedItems’.
-
DELETE_TYPES
= ['HardDelete', 'SoftDelete', 'MoveToDeletedItems']¶
-
soap
()¶