Logo of FrontifyDeveloper PortalArrow to the right
GraphQL Reference
Mutation

moveFolders():MoveFolders

Move existing Folder item(s) to the given Library, Workspace or Folder destination. This operation will move all of the Asset item(s) and SubFolder item(s) within the provided Folder item(s). Only moves within the same Library/Workspace are supported by this operation. Requires basic:write scope to be accessible and Folder permission level EDIT.

All mutations have exactly one input field called input with a unique input and return type. This is useful to write mutations with variables, so there is always one single variable per mutation. This makes it easier to use and reuse them.

Input fields of MoveFoldersInput
folderIds: [ID!]!

Ids of the Folder items to be moved.

destinationId: ID!

Id of the destination entity where Folder items should be moved to. Allows Library/Workspace/Folder Ids only.

Fields of MoveFolders
ids:[ID!]

List of moved Folder ids.