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

TNID API documentation User Documents Delete User Folders

Delete User Folders

On this page

GraphQL endpoint: /user

Deletes folders from the calling user's repository for good. Each subtree is removed and every document inside moves to the trash; a document restored later lands at the repository root.

Query

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

Variables

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

Response

{
  "data": {
    "deleteUserFolders": {
      "count": 1,
      "status": "OK"
    }
  }
}