Trash an Item

8 January 2024

  • C12 - add the verify parameter.

7 October 2016

  • Release 9.134 - The command has been renamed from deleteitem.

6 October 2016

  • Release 9.133 - The command now can take a path instead of a name.

<data Commands> Type: Corrade progressive command Command[wiki]: trashitem Description[wiki]: The trashitem command moves an item to the Trash folder. Permissions[wiki]: inventory Parameters[wiki]: group, password, item Last Changes[wiki]: Release 9.134 - The command has been renamed from deleteitem. </data>

The trashitem command moves an item to the Trash folder.

Command Required Parameters Required Corrade Permissions Example
trashitem group, password, item inventory
llInstantMessage(CORRADE,
    wasKeyValueEncode(
        [
            "command", "trashitem",
            "group", wasURLEscape(GROUP),
            "password", wasURLEscape(PASSWORD),
            "item", "/My Inventory/Objects/Carrot" // or UUID
        ]
    )
);

item can be the path or the UUID of an inventory item or inventory folder.

Parameter Possible Value Description
verify True or False The verify parameter must be set to True in case this command is allowed to act upon system folders.