box-node-sdk

TrashedItemsManager

List trashed items

Retrieves the files and folders that have been moved to the trash.

Any attribute in the full files or folders objects can be passed in with the fields parameter to retrieve those specific attributes that are not returned by default.

This endpoint defaults to use offset-based pagination, yet also supports marker-based pagination using the marker parameter.

This operation is performed by calling function getTrashedItems.

See the endpoint docs at API Reference.

await client.trashedItems.getTrashedItems();

Arguments

Returns

This function returns a value of type Items.

Returns a list of items that have been deleted.