Skip to main content

createFolder

Creates a folder owned by the current account on an editable site and returns it. Supports snapshots, recordings, A/B testing, and editor folder types; use updateFolder to rename a snapshots folder. Requires snapshots edit access.

createFolder(
folder: FolderCreateParams!
): Folder

Arguments​

createFolder.folder ● FolderCreateParams! non-null input​

Site, folder type, and title for the new folder; ownership comes from the current session.

Type​

Folder object​

Site-scoped resource folder returned by folders and folder mutations; the single folder lookup supports snapshots folders only.