← API reference
Mutation / files

deleteFolder

Deletes a folder. Refused for the tenant default folder and for any folder still referenced by files — the stored bytes would be orphaned. Requires folder:delete permission.

Arguments

TypeID of the folder to delete (e.g. "fld_01K…").

Returns DeletePayload!

Scalar fields at a glance

successBoolean!
↗ View the complete DeletePayload type

Explore in a view

Print PrepressProduction Floor
View exact SDL
"""
Deletes a folder. Refused for the tenant default folder and for any folder still referenced by files — the stored bytes would be orphaned. Requires folder:delete permission.
"""
deleteFolder(
  """TypeID of the folder to delete (e.g. "fld_01K…")."""
  id: FolderID!
): DeletePayload! @topic(names: ["files"])

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