IPWorks Cloud 2020 JavaScript Edition

Questions / Feedback?

DeleteItem Method

Deletes an item permanently.

Syntax

async sharefile.deleteItem(itemId : string): Promise<void>

Remarks

This method deletes the item specified by ItemId permanently. Must call ListItems before the Item* properties property will be updated.

// Deletes the first item.
shareFile.ListItems();
string ItemId = shareFile.Items[0].Id;
shareFile.DeleteItem(ItemId);

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