โ† API reference
Mutation / files

deleteFile

Delete a file. Requires file:delete permission.

Arguments

ID of the file to delete

Returns DeletePayload!

Scalar fields at a glance

successBoolean!
โ†— View the complete DeletePayload type

Explore in a view

Print PrepressProduction Floor
View exact SDL
"""Delete a file. Requires file:delete permission."""
deleteFile(
  """ID of the file to delete"""
  id: FileID!
): DeletePayload! @topic(names: ["files"])

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