About Trash

About Trash

Contents

Introduction

Trash can APIs allow you to retrieve, restore, or permanently delete files and folders that are in deleted state.

Examples

empty_trash

empty_trash method permanently removes deleted files and folders.

Code Sample

cloud.empty_trash()

restore

restore method restores files and folders from trash.

Code Sample

cloud.restore('/path/to/deleted/file')

trash

trash method retreives a list of deleted files and folders.

Code Sample

files, folders = cloud.trash()

Copyright © 2015-2017, Verizon and/or its Licensors. All rights reserved.