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

TNID API documentation User Documents Update User Folder

Update User Folder

On this page

GraphQL endpoint: /user

Updates one of the calling user's document folders — currently the name only.

Query

mutation ($id: ID!) { updateUserFolder(id: $id, name: "New") { id name } }

Variables

{
  "id": "00000000-0000-4000-8000-000000000001"
}

Response

{
  "data": {
    "updateUserFolder": {
      "id": "00000000-0000-4000-8000-000000000001",
      "name": "New"
    }
  }
}