TSGGLOBAL Support sign in
Skip to page content
Browse TNID API docs

TNID API documentation Company Documents Empty Company Trash

Empty Company Trash

On this page

GraphQL endpoint: /company

Permanently deletes everything in the calling company's trash. Takes no arguments — it always covers the whole trash rather than a filtered view of it — and the files leave storage as well.

Query

mutation {
  emptyCompanyTrash {
    status
    count
  }
}

Variables

{}

Response

{
  "data": {
    "emptyCompanyTrash": {
      "count": 2,
      "status": "OK"
    }
  }
}