For the complete documentation index, see llms.txt. This page is also available as Markdown.

Move User Folders

GraphQL endpoint: /user

Re-parents folders within the calling user's repository. Pass a null parentId to move them to the top level. A folder cannot be moved inside itself or its own descendants.

Query

mutation ($ids: [ID!]!, $parentId: ID) {
  moveUserFolders(ids: $ids, parentId: $parentId) {
    status
    count
  }
}

Variables

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

Response

Last updated