TrashedItemsManager
June 20, 2025 ยท View on GitHub
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
- queryParams
GetTrashedItemsQueryParams- Query parameters of getTrashedItems method
- headersInput
GetTrashedItemsHeadersInput- Headers of getTrashedItems method
- cancellationToken
undefined | CancellationToken- Token used for request cancellation.
Returns
This function returns a value of type Items.
Returns a list of items that have been deleted.