About Virtual Folders

About Virtual Folders

Contents

Introduction

Virtual folder APIs allow you to create, rename, or delete virtual folders.

Examples

createVirtualFolder

Use this code sample to create a virtual folder.

Code Sample

cloud.createVirtualFolder({
        "name":"foldername",
        "success": function(resp)     { 
            var virtualFolder = resp.body.folder;
        }
});
```	

### deleteVirtualFolder

Use this code sample to delete a virtual folder. 

**Code Sample**

```javascript
cloud.deleteVirtualFolder({
        "name":"foldername",
        "success": function(resp)     { 
            //virtual folder is deleted
        }
});

renameVirtualFolder

Use this code sample to rename a virtual folder.

Code Sample

cloud.renameVirtualFolder({
        "src":"oldname",
        "target":"newname",
        "success": function(resp)     { 
            var virtualFolder = resp.body.folder;
        }
});

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