← API reference
Mutation / files

createFolder

Creates a folder in the caller's tenant. The binding reference must resolve to a storage backend or controller owned by the tenant, the name must be unique within it, and at most one folder may be the tenant default. Requires folder:write permission.

Arguments

Name, transport binding and root path for the new folder.

Returns FolderPayload!

Explore in a view

Print PrepressProduction Floor
View exact SDL
"""
Creates a folder in the caller's tenant. The binding reference must resolve to a storage backend or controller owned by the tenant, the name must be unique within it, and at most one folder may be the tenant default. Requires folder:write permission.
"""
createFolder(
  """Name, transport binding and root path for the new folder."""
  input: CreateFolderInput!
): FolderPayload! @topic(names: ["files"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.