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

TNID API documentation User Documents Permanently Delete User Documents

Permanently Delete User Documents

On this page

GraphQL endpoint: /user

Removes documents from the calling user's trash for good, deleting the stored files as well. Only documents already in the trash can be deleted this way.

Query

mutation ($ids: [ID!]!) {
  permanentlyDeleteUserDocuments(ids: $ids) {
    status
    count
  }
}

Variables

{
  "ids": [
    "00000000-0000-4000-8000-000000000001",
    "00000000-0000-4000-8000-000000000002"
  ]
}

Response

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