Folder trees inside libraries and workspaces — create, move, and reorganize structure.

Mutation

createFolder

Create a new Folder. Requires basic:write scope to be accessible and Project or Folder permission level EDIT.

Returns

CreateFolder

Arguments

input:CreateFolderInput!Required
CreateFolder input argument.
RequiredparentId: ID!, name: String!
Optionaldescription: String

Response fields

0 selected

Toggle fields to tailor the query and response.

Mutation

deleteFolders

Delete the existing Folders. This will delete all of the Assets and SubFolders within the Folders. Requires basic:write scope to be accessible and Folder permission level EDIT.

Returns

DeleteFolders

Arguments

input:DeleteFoldersInput!Required
DeleteFolders input argument.
Requiredids: [ID!]!

Response fields

0 selected

Toggle fields to tailor the query and response.

  • [ID!]
Mutation

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.

Returns

MoveFolders

Arguments

input:MoveFoldersInput!Required
MoveFolders input argument.
RequiredfolderIds: [ID!]!, destinationId: ID!

Response fields

0 selected

Toggle fields to tailor the query and response.

  • [ID!]
Mutation

updateFolder

Update an existing Folder. Requires basic:write scope to be accessible and Folder permission level EDIT.

Returns

UpdateFolder

Arguments

input:UpdateFolderInput!Required
UpdateFolder input argument.
Requiredid: ID!, data: UpdateFolderDataInput!

Response fields

0 selected

Toggle fields to tailor the query and response.