IPWorks Cloud 2020 Python Edition

Questions / Feedback?

trash_resource Method

Moves the specified file or folder to the trash.

Syntax

def trash_resource(resource_id: str) -> None: ...

Remarks

This method moves the file or folder specified by ResourceId to the trash. The resource may be restored from the trash by calling restore_resource.

To permanently delete a resource, call delete_resource. To empty the trash (thus permanently deleting all trashed items), call empty_trash.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks Cloud 2020 Python Edition - Version 20.0 [Build 8265]