Skip to main content

RemoveObjects

Removes objects i.e. marks them deleted.

Syntax​

// Assumes shellUI has been initialized with IShellUI instance
const results = await shellUI.Vault.ObjectOperations.RemoveObjects({
obj_ids: [] /* Array of ObjID */,
});

Message​

NameDescriptionType
obj_idsThe objects to remove, as an ObjIDArray object.ObjID[]

Return type​

NameDescriptionType
deleted_objectsResults as JSON array.ExtObjectInfo[]

Example​

{
"deleted_objects": [] /* Array of ExtObjectInfo */
}