OBJECT

moveFolder

link GraphQL Schema definition

1Mutation moveFolder {
2
3# Mutation used to move a Folder.
4#
5# Arguments
6# projectId: the project id of the Folder.
7# testPlanId: the Test Plan id of the Folder.
8# path: the path of the Folder.
9# destinationPath: the new path of the Folder.
10# index: the index of where to insert the folder in.
11moveFolder(projectId: String, testPlanId: String, path: String!, destinationPath: String!, index: Int): ActionFolderResult
12
13}

link Example

The mutation below will move a Folder.

mutation {
    moveFolder(
        projectId: "10000",
        path: "/generic",
        destinationPath: "/testType"
    ) {
        folder {
            name
            path
            testsCount
        }
        warnings
    }
}