GET
/
trash
curl --request GET \
  --url 'https://app.teable.io/api/trash?resourceType=SOME_STRING_VALUE' \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
{
  "trashItems": [
    {
      "id": "<string>",
      "resourceId": "<string>",
      "resourceType": "space",
      "deletedTime": "<string>",
      "deletedBy": "<string>"
    }
  ],
  "userMap": {},
  "resourceMap": {},
  "nextCursor": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

resourceType
enum<string>
required
Available options:
space,
base

Response

200 - application/json
Get trash successfully
trashItems
object[]
required
userMap
object
required
resourceMap
object
required
nextCursor
string | null