PrepressMu Mutation

updateFolder

Topics: Files

Patches a folder. Omitted fields are left unchanged. A folder that files already reference may not have its binding or root path changed (stored file handles would resolve against the wrong transport/prefix), and the tenant default may be moved to another folder but never simply unset. Requires folder:write permission.

Returns

FolderPayload!

Arguments

id

FolderID!Required

Folder ID to update

The fields to change; omitted fields keep their stored values.

Exact field SDL
"""
Patches a folder. Omitted fields are left unchanged. A folder that files already reference may not have its binding or root path changed (stored file handles would resolve against the wrong transport/prefix), and the tenant default may be moved to another folder but never simply unset. Requires folder:write permission.
"""
updateFolder(
  """Folder ID to update"""
  id: FolderID!
  """The fields to change; omitted fields keep their stored values."""
  input: UpdateFolderInput!
): FolderPayload! @topic(names: ["files"])

Declared on Mutation. Access is checked by the platform for each operation.