> ## Documentation Index
> Fetch the complete documentation index at: https://docs.occtoo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# moveFolderEntries

> Moves the entries `searchCriteria` matches into a folder, from any folder of the source. A small selection moves at once; a larger one becomes a task, and `queuedTaskId` returns its id next to `matchedCount`.



**mutation** `moveFolderEntries(input: MoveFolderEntriesInput!): MoveFolderEntriesPayload!`

## Arguments

**`input`**: `MoveFolderEntriesInput!` (required)

## Returns

`MoveFolderEntriesPayload!`

**`errors`**: `[MoveFolderEntriesError!]`

---

**`folderEntriesMove`**: `FolderEntriesMove`

## Examples

```graphql Mutation
mutation MoveFolderEntries($input: MoveFolderEntriesInput!) {
  moveFolderEntries(input: $input) {
    errors {
      __typename
      ... on GraphQlError {
        code
        details {
          __typename
        }
        message
      }
    }
    folderEntriesMove {
      matchedCount
      queuedTaskId
    }
  }
}
```

```json Variables
{
  "input": {
    "targetFolderId": "id"
  }
}
```

```json Response
{
  "data": {
    "moveFolderEntries": {
      "errors": [
        {
          "__typename": "GraphQlError",
          "code": "string",
          "details": [
            {
              "__typename": "KeyValuePairOfStringAndString"
            }
          ],
          "message": "string"
        }
      ],
      "folderEntriesMove": {
        "matchedCount": "value",
        "queuedTaskId": "id"
      }
    }
  }
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.