English
Get trash list for spaces or bases
cURL
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>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
space
base
Get trash successfully
The response is of type object.
object