Skip to main content
GET
List deleted files

Authorizations

x-api-key
string
header
required

ROOTKey API key. A test key works on your organization's test data and a live key on its live data; both are used with the same API.

Headers

X-RootKey-Organization
string

The organization a personal access token acts in: the id of one of the organizations that GET /organizations lists. Required with a personal access token on every endpoint that works inside an organization; without it the request gets organization_header_required. Ignored with an API key, which belongs to exactly one organization.

x-test-mode
enum<string>
default:false

Whether a personal access token works on live data (false, the default) or on test data (true). Only this header decides, never a query string or a body field. An API key is itself a test or a live key and works on that data.

Available options:
true,
false

Query Parameters

cursor
string

The pagination.nextCursor of the previous page. With a personal access token it is opaque, and a cursor that is not valid gets invalid_cursor, never a restart from the first page.

limit
integer
default:10

With a personal access token, a whole number from 1 to 100; anything else gets invalid_filters.

Required range: 1 <= x <= 100
order
enum<string>
default:desc

By deletion time.

Available options:
asc,
desc
name
string

Only files whose name contains this text.

deletedFrom
string<date-time>

Only what was deleted at or after this time.

deletedTo
string<date-time>

Only what was deleted at or before this time.

Response

A page of deleted files

data
object[]
pagination
object
metadata
object